public function EckEntityBundleListBuilder::buildHeader in Entity Construction Kit (ECK) 8
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/
Controller/ EckEntityBundleListBuilder.php, line 60
Class
- EckEntityBundleListBuilder
- Defines a class to build a listing of node type entities.
Namespace
Drupal\eck\ControllerCode
public function buildHeader() {
$header['title'] = $this
->t('Name');
$header['description'] = [
'data' => $this
->t('Description'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
return $header + parent::buildHeader();
}