You are here

public function UserRestrictionsListBuilder::buildHeader in User restrictions 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/UserRestrictionsListBuilder.php, line 37

Class

UserRestrictionsListBuilder
Defines a class to build a listing of image style entities.

Namespace

Drupal\user_restrictions

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('User restriction');
  $header['rule_type'] = $this
    ->t('Rule type');
  $header['pattern'] = $this
    ->t('Pattern');
  $header['access_type'] = $this
    ->t('Access type');
  $header['expiry'] = $this
    ->t('Expiry');
  return $header + parent::buildHeader();
}