You are here

public function EckEntityListBuilder::buildHeader in Entity Construction Kit (ECK) 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/EckEntityListBuilder.php, line 30

Class

EckEntityListBuilder
Provides a list controller for ECK entity.

Namespace

Drupal\eck\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['title'] = $this
    ->t('Title');
  $header['bundle'] = $this
    ->t('Bundle');
  return $header + parent::buildHeader();
}