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