public function ActionListBuilder::buildHeader in Drupal 9
Same name and namespace in other branches
- 8 core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::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
- core/
modules/ action/ src/ ActionListBuilder.php, line 88
Class
- ActionListBuilder
- Defines a class to build a listing of action entities.
Namespace
Drupal\actionCode
public function buildHeader() {
$header = [
'type' => t('Action type'),
'label' => t('Label'),
] + parent::buildHeader();
return $header;
}