You are here

public function ReplicationListBuilder::buildHeader in Deploy - Content Staging 8

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/ReplicationListBuilder.php, line 25

Class

ReplicationListBuilder
Defines a class to build a listing of Replication entities.

Namespace

Drupal\deploy

Code

public function buildHeader() {
  $header['replication_status'] = $this
    ->t('Status');
  $header['name'] = $this
    ->t('Title');
  $header['source'] = $this
    ->t('Source');
  $header['target'] = $this
    ->t('Target');
  $header['changed'] = $this
    ->t('Updated');
  $header['created'] = $this
    ->t('Created');
  $header['user'] = $this
    ->t('User');
  $header['description'] = $this
    ->t('Description');
  $header['operations'] = $this
    ->t('Operations');
  return $header;
}