public function WorkspaceListBuilder::buildHeader in Workspace 8.2
Same name and namespace in other branches
- 8 src/WorkspaceListBuilder.php \Drupal\workspace\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
- src/
WorkspaceListBuilder.php, line 55
Class
- WorkspaceListBuilder
- Defines a class to build a listing of workspace entities.
Namespace
Drupal\workspaceCode
public function buildHeader() {
$header['label'] = $this
->t('Workspace');
$header['uid'] = $this
->t('Owner');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}