public function LogTypeListBuilder::buildHeader in Log entity 8
Same name and namespace in other branches
- 2.x 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 20 - Contains \Drupal\log\LogTypeListBuilder.
Class
- LogTypeListBuilder
- Provides a listing of Log type entities.
Namespace
Drupal\logCode
public function buildHeader() {
$header['label'] = $this
->t('Log type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}