function ActionListBuilder::buildHeader

Same name in other branches
  1. 9 core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::buildHeader()
  2. 8.9.x core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::buildHeader()
  3. 11.x core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::buildHeader()

Overrides EntityListBuilder::buildHeader

File

core/modules/action/src/ActionListBuilder.php, line 102

Class

ActionListBuilder
Defines a class to build a listing of action entities.

Namespace

Drupal\action

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.