You are here

public function LogListBuilder::buildHeader in Log entity 8

Same name and namespace in other branches
  1. 2.x src/LogListBuilder.php \Drupal\log\LogListBuilder::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/LogListBuilder.php, line 24
Contains \Drupal\log\LogListBuilder.

Class

LogListBuilder
Defines a class to build a listing of Log entities.

Namespace

Drupal\log

Code

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