public function ServerListBuilder::buildHeader in GraphQL 8.4
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/
Controller/ ServerListBuilder.php, line 21
Class
- ServerListBuilder
- Admin page controller that shows the list of configured GraphQL servers.
Namespace
Drupal\graphql\ControllerCode
public function buildHeader() {
return [
'label' => $this
->t('Label'),
] + parent::buildHeader();
}