You are here

public function ServiceEndpointListBuilder::buildHeader in Services 9.0.x

Same name and namespace in other branches
  1. 8.4 src/Controller/ServiceEndpointListBuilder.php \Drupal\services\Controller\ServiceEndpointListBuilder::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()

File

src/Controller/ServiceEndpointListBuilder.php, line 16

Class

ServiceEndpointListBuilder
Provides a listing of service endpoint entities.

Namespace

Drupal\services\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Services endpoint');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}