function RulesReactionListBuilder::buildHeader

Building the header and content lines for the reaction rules list.

Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.

Overrides EntityListBuilder::buildHeader

1 call to RulesReactionListBuilder::buildHeader()
RulesReactionListBuilder::render in src/Controller/RulesReactionListBuilder.php
Builds the entity listing as renderable array for table.html.twig.

File

src/Controller/RulesReactionListBuilder.php, line 84

Class

RulesReactionListBuilder
Defines a class to build a listing of ReactionRuleConfig entities.

Namespace

Drupal\rules\Controller

Code

public function buildHeader() {
    $header['label'] = $this->t('Reaction Rule');
    $header['event'] = $this->t('Event');
    $header['description'] = $this->t('Description');
    return $header + parent::buildHeader();
}