public function ServerListBuilder::buildHeader in OAuth2 Server 2.0.x
Same name and namespace in other branches
- 8 src/ServerListBuilder.php \Drupal\oauth2_server\ServerListBuilder::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()
1 call to ServerListBuilder::buildHeader()
- ServerListBuilder::render in src/
ServerListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
ServerListBuilder.php, line 42
Class
- ServerListBuilder
- Builds a listing of oauth2 server entities.
Namespace
Drupal\oauth2_serverCode
public function buildHeader() {
return [
'label' => $this
->t('Label'),
'status' => [
'data' => $this
->t('Status'),
'class' => [
'checkbox',
],
],
] + parent::buildHeader();
}