public function ActionListBuilder::buildHeader in Zircon Profile 8.0
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 93 - Contains \Drupal\action\ActionListBuilder.
Class
- ActionListBuilder
- Defines a class to build a listing of action entities.
Namespace
Drupal\actionCode
public function buildHeader() {
$header = array(
'type' => t('Action type'),
'label' => t('Label'),
) + parent::buildHeader();
return $header;
}