You are here

public function RuleListBuilder::buildHeader in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Lists/RuleListBuilder.php \Drupal\rng\Lists\RuleListBuilder::buildHeader()
  2. 3.x src/Lists/RuleListBuilder.php \Drupal\rng\Lists\RuleListBuilder::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

src/Lists/RuleListBuilder.php, line 107

Class

RuleListBuilder
Builds a list of rng rules.

Namespace

Drupal\rng\Lists

Code

public function buildHeader() {
  $header['id'] = t('id');
  $header['trigger'] = t('Trigger ID');
  $header['conditions'] = t('Conditions');
  $header['actions'] = t('Actions');
  $header['status'] = t('Status');
  return $header + parent::buildHeader();
}