public function StyleguidePatternListBuilder::buildHeader in Simple Style Guide 8
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
StyleguidePatternListBuilder.php, line 26
Class
- StyleguidePatternListBuilder
- Defines a class to build a listing of user ball entities.
Namespace
Drupal\simple_styleguideCode
public function buildHeader() {
$header['label'] = $this
->t('Name');
return $header + parent::buildHeader();
}