You are here

public function RoleListBuilder::buildHeader in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/src/RoleListBuilder.php \Drupal\user\RoleListBuilder::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

core/modules/user/src/RoleListBuilder.php, line 65

Class

RoleListBuilder
Defines a class to build a listing of user role entities.

Namespace

Drupal\user

Code

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