public function RoleWatchdogListBuilder::buildHeader in Role Watchdog 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/
RoleWatchdogListBuilder.php, line 19
Class
- RoleWatchdogListBuilder
- Defines a class to build a listing of Role Watchdog entities.
Namespace
Drupal\role_watchdogCode
public function buildHeader() {
$header['id'] = $this
->t('Role Watchdog ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}