You are here

public function AuthorizationProfileListBuilder::buildHeader in Authorization 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/AuthorizationProfileListBuilder.php, line 18

Class

AuthorizationProfileListBuilder
Provides a listing of Authorization profile entities.

Namespace

Drupal\authorization

Code

public function buildHeader() : array {
  $header['label'] = $this
    ->t('Profile');
  $header['provider'] = $this
    ->t('Provider');
  $header['consumer'] = $this
    ->t('Consumer');
  $header['enabled'] = $this
    ->t('Enabled');
  return $header + parent::buildHeader();
}