public function LoginDestinationListBuilder::buildHeader in Login Destination 8
Same name and namespace in other branches
- 8.2 src/Controller/LoginDestinationListBuilder.php \Drupal\login_destination\Controller\LoginDestinationListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
Controller/ LoginDestinationListBuilder.php, line 33
Class
- LoginDestinationListBuilder
- Provides a listing of Login Destinations rules.
Namespace
Drupal\login_destination\ControllerCode
public function buildHeader() {
$header = [
'label' => $this
->t('Label'),
'destination' => $this
->t('Destination'),
'triggers' => $this
->t('Triggers'),
'pages' => $this
->t('Pages'),
'language' => $this
->t('Language'),
'roles' => $this
->t('Roles'),
'enabled' => $this
->t('Enabled'),
];
return $header + parent::buildHeader();
}