public function EckEntityTypeListBuilder::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/ EckEntityTypeListBuilder.php, line 66
Class
- EckEntityTypeListBuilder
- Provides a listing of ECK entities.
Namespace
Drupal\eck\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Entity Type');
$header['machine_name'] = $this
->t('Machine Name');
return $header + parent::buildHeader();
}