public function WorkspaceListBuilder::buildHeader in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/src/WorkspaceListBuilder.php \Drupal\workspaces\WorkspaceListBuilder::buildHeader()
- 10 core/modules/workspaces/src/WorkspaceListBuilder.php \Drupal\workspaces\WorkspaceListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- core/
modules/ workspaces/ src/ WorkspaceListBuilder.php, line 94
Class
- WorkspaceListBuilder
- Defines a class to build a listing of workspace entities.
Namespace
Drupal\workspacesCode
public function buildHeader() {
$header['label'] = $this
->t('Workspace');
$header['uid'] = $this
->t('Owner');
return $header + parent::buildHeader();
}