You are here

public function ActionListBuilder::buildHeader in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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\action

Code

public function buildHeader() {
  $header = array(
    'type' => t('Action type'),
    'label' => t('Label'),
  ) + parent::buildHeader();
  return $header;
}