You are here

public function LogTypeListBuilder::buildHeader in Log entity 2.x

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

Class

LogTypeListBuilder
Provides a listing of Log type entities.

Namespace

Drupal\log

Code

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