public function RoleListBuilder::buildHeader in Zircon Profile 8.0
Same name and namespace in other branches
- 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 31 - Contains \Drupal\user\RoleListBuilder.
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();
}