public function MenuListBuilder::buildHeader in Colossal Menu 8
Same name and namespace in other branches
- 2.x 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_menuCode
public function buildHeader() {
$header['label'] = $this
->t('Menu');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}