You are here

public function OrganizationTypeListBuilder::buildHeader in Drupal PM (Project Management) 4.x

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

modules/pm_organization/src/OrganizationTypeListBuilder.php, line 16

Class

OrganizationTypeListBuilder
Provides a listing of Organization type entities.

Namespace

Drupal\pm_organization

Code

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