You are here

public function MenuPositionRuleListBuilder::buildHeader in Menu Position 8

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/Controller/MenuPositionRuleListBuilder.php, line 16

Class

MenuPositionRuleListBuilder
Provides a listing of Example.

Namespace

Drupal\menu_position\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Example');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}