You are here

public function ProfileTypeListBuilder::buildHeader in Profile 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/ProfileTypeListBuilder.php, line 16

Class

ProfileTypeListBuilder
Defines the list builder for profile types.

Namespace

Drupal\profile

Code

public function buildHeader() {
  $header['type'] = $this
    ->t('Profile type');
  $header['registration'] = $this
    ->t('Registration');
  $header['multiple'] = $this
    ->t('Allow multiple profiles');
  return $header + parent::buildHeader();
}