You are here

public function ShortcutSetListBuilder::buildHeader in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/shortcut/src/ShortcutSetListBuilder.php \Drupal\shortcut\ShortcutSetListBuilder::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

core/modules/shortcut/src/ShortcutSetListBuilder.php, line 18

Class

ShortcutSetListBuilder
Defines a class to build a listing of shortcut set entities.

Namespace

Drupal\shortcut

Code

public function buildHeader() {
  $header['name'] = t('Name');
  return $header + parent::buildHeader();
}