protected function ServiceEndpointResources::buildHeader in Services 8.4
Same name and namespace in other branches
- 9.0.x src/Controller/ServiceEndpointResources.php \Drupal\services\Controller\ServiceEndpointResources::buildHeader()
Build service resource table header.
Return value
array An array of table headers.
1 call to ServiceEndpointResources::buildHeader()
- ServiceEndpointResources::displayList in src/
Controller/ ServiceEndpointResources.php - List service resources.
File
- src/
Controller/ ServiceEndpointResources.php, line 91
Class
- ServiceEndpointResources
- Class \Drupal\services\Controller\ServiceEndpointManageResource.
Namespace
Drupal\services\ControllerCode
protected function buildHeader() {
return [
'title' => $this
->t('Definition'),
'endpoint' => $this
->t('Endpoint'),
'operations' => $this
->t('Operations'),
];
}