public function RoleListBuilder::buildHeader in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/src/RoleListBuilder.php \Drupal\user\RoleListBuilder::buildHeader()
- 10 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\userCode
public function buildHeader() {
$header['label'] = t('Name');
return $header + parent::buildHeader();
}