You are here

public function GroupRoleListBuilder::buildHeader in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Controller/GroupRoleListBuilder.php \Drupal\group\Entity\Controller\GroupRoleListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/Entity/Controller/GroupRoleListBuilder.php, line 85

Class

GroupRoleListBuilder
Defines a class to build a listing of group role entities.

Namespace

Drupal\group\Entity\Controller

Code

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