You are here

public function AccessTokenResourceListBuilder::buildHeader in Simple OAuth (OAuth2) & OpenID Connect 8

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/AccessTokenResourceListBuilder.php, line 15

Class

AccessTokenResourceListBuilder
Provides a listing of Access Token Resource entities.

Namespace

Drupal\simple_oauth

Code

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