Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Help.php

function Help::getDescriptionColumnWidth

Get the maximum width for the text in the option description column.

Return value

int

1 call to Help::getDescriptionColumnWidth()
Help::printCategoryOptions in vendor/squizlabs/php_codesniffer/src/Util/Help.php
Print the options for a category.

File

vendor/squizlabs/php_codesniffer/src/Util/Help.php, line 245

Class

Help

Namespace

PHP_CodeSniffer\Util

Code

private function getDescriptionColumnWidth() {
    return $this->getMaxWidth() - $this->maxOptionNameLength - $this->indentWidth - $this->gutterWidth;
}
RSS feed
Powered by Drupal