public function Oauth2TokenListBuilder::buildHeader in Simple OAuth (OAuth2) & OpenID Connect 8.2
Same name and namespace in other branches
- 8.4 src/Oauth2TokenListBuilder.php \Drupal\simple_oauth\Oauth2TokenListBuilder::buildHeader()
- 8.3 src/Oauth2TokenListBuilder.php \Drupal\simple_oauth\Oauth2TokenListBuilder::buildHeader()
- 5.x src/Oauth2TokenListBuilder.php \Drupal\simple_oauth\Oauth2TokenListBuilder::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/
Oauth2TokenListBuilder.php, line 20
Class
- Oauth2TokenListBuilder
- Defines a class to build a listing of Access Token entities.
Namespace
Drupal\simple_oauthCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['type'] = $this
->t('Type');
$header['user'] = $this
->t('User');
$header['name'] = $this
->t('Token');
$header['client'] = $this
->t('Client');
$header['scopes'] = $this
->t('Scopes');
return $header + parent::buildHeader();
}