public function Generator::tableHeader in Style Guide 8
Same name and namespace in other branches
- 2.x src/Generator.php \Drupal\styleguide\Generator::tableHeader()
Return a random table header array.
Parameters
int $size: The size of the list to return.
Return value
array An array of header elements.
Overrides GeneratorInterface::tableHeader
File
- src/
Generator.php, line 87
Class
- Generator
- Class Generator.
Namespace
Drupal\styleguideCode
public function tableHeader($size = 5) {
$header = $this
->wordList($size);
return $header;
}