You are here

public function MenuListBuilder::buildHeader in Colossal Menu 2.x

Same name and namespace in other branches
  1. 8 src/MenuListBuilder.php \Drupal\colossal_menu\MenuListBuilder::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/MenuListBuilder.php, line 16

Class

MenuListBuilder
Provides a listing of Menu entities.

Namespace

Drupal\colossal_menu

Code

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