You are here

public function GoogleApiClientListBuilder::buildHeader in Google API PHP Client 8.2

Same name and namespace in other branches
  1. 8.4 src/Entity/Controller/GoogleApiClientListBuilder.php \Drupal\google_api_client\Entity\Controller\GoogleApiClientListBuilder::buildHeader()
  2. 8.3 src/Entity/Controller/GoogleApiClientListBuilder.php \Drupal\google_api_client\Entity\Controller\GoogleApiClientListBuilder::buildHeader()

Building the header and content lines for the snapshot list.

Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.

Overrides EntityListBuilder::buildHeader

File

src/Entity/Controller/GoogleApiClientListBuilder.php, line 41

Class

GoogleApiClientListBuilder
Provides a list controller for google_api_client entity.

Namespace

Drupal\google_api_client\Entity\Controller

Code

public function buildHeader() {
  $header = [
    'Id',
    'Name',
    'Services',
    'Is Authenticated',
    'Created By',
  ];
  return $header + parent::buildHeader();
}