You are here

public function PersonaListBuilder::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_persona/src/PersonaListBuilder.php, line 19

Class

PersonaListBuilder
Defines a class to build a listing of Persona entities.

Namespace

Drupal\pm_persona

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Persona ID');
  $header['name'] = $this
    ->t('Name');
  return $header + parent::buildHeader();
}