public function ImportEntityListBuilder::buildHeader in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/ImportEntityListBuilder.php \Drupal\content_synchronizer\ImportEntityListBuilder::buildHeader()
- 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_synchronizerCode
public function buildHeader() {
$header['id'] = $this
->t('Import ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}