You are here

public function WorkspaceListBuilder::buildHeader in Workspace 8

Same name and namespace in other branches
  1. 8.2 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 48

Class

WorkspaceListBuilder
Defines a class to build a listing of workspace entities.

Namespace

Drupal\workspace

Code

public function buildHeader() {

  // @todo should we show conflicted state in this list?
  $header['label'] = t('Workspace');
  $header['uid'] = t('Owner');
  $header['type'] = t('Type');
  $header['status'] = t('Status');
  return $header + parent::buildHeader();
}