You are here

public function ExportEntityListBuilder::buildHeader in Content Synchronizer 8.2

Same name and namespace in other branches
  1. 8 src/ExportEntityListBuilder.php \Drupal\content_synchronizer\ExportEntityListBuilder::buildHeader()
  2. 3.x src/ExportEntityListBuilder.php \Drupal\content_synchronizer\ExportEntityListBuilder::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/ExportEntityListBuilder.php, line 22

Class

ExportEntityListBuilder
Defines a class to build a listing of Export entity entities.

Namespace

Drupal\content_synchronizer

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Export entity ID');
  $header['name'] = $this
    ->t('Name');
  return $header + parent::buildHeader();
}