You are here

public function SimplemetaEntityListBuilder::buildHeader in Simple Meta 8

Same name and namespace in other branches
  1. 8.2 src/SimplemetaEntityListBuilder.php \Drupal\simplemeta\SimplemetaEntityListBuilder::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/SimplemetaEntityListBuilder.php, line 22

Class

SimplemetaEntityListBuilder
Defines a class to build a listing of SimpleMeta entities.

Namespace

Drupal\simplemeta

Code

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