You are here

public function ImportEntityListBuilder::buildHeader in Content Synchronizer 8

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

Class

ImportEntityListBuilder
Defines a class to build a listing of Import entities.

Namespace

Drupal\content_synchronizer

Code

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