You are here

public function PasswordPolicyListBuilder::buildHeader in Password Policy 8.3

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/Controller/PasswordPolicyListBuilder.php, line 17

Class

PasswordPolicyListBuilder
Provides a listing of Password Policies.

Namespace

Drupal\password_policy\Controller

Code

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