RoleListBuilder::buildHeader

public 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 26

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();
}
doc_Drupal
2016-10-29 09:38:53
Comments
Leave a Comment

Please login to continue.