public function GroupTypeListBuilder::buildHeader in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Controller/GroupTypeListBuilder.php \Drupal\group\Entity\Controller\GroupTypeListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
Entity/ Controller/ GroupTypeListBuilder.php, line 19
Class
- GroupTypeListBuilder
- Defines a class to build a listing of group type entities.
Namespace
Drupal\group\Entity\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Name');
$header['description'] = [
'data' => $this
->t('Description'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
return $header + parent::buildHeader();
}