public function EntityImportStatusListBuilder::buildHeader in Entity Share 8.3
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
- modules/
entity_share_client/ src/ EntityImportStatusListBuilder.php, line 107
Class
- EntityImportStatusListBuilder
- Provides a listing of Import status entities.
Namespace
Drupal\entity_share_clientCode
public function buildHeader() {
$header = [];
$header['id'] = $this
->t('ID');
$header['entity_uuid'] = $this
->t('Entity UUID');
$header['entity_id'] = $this
->t('Entity ID');
$header['langcode'] = $this
->t('Language');
$header['entity_label'] = $this
->t('Link to entity');
$header['entity_type_id'] = $this
->t('Entity type');
$header['entity_bundle'] = $this
->t('Bundle');
$header['remote_website'] = $this
->t('Remote');
$header['channel_id'] = $this
->t('Channel');
$header['last_import'] = $this
->t('Last import');
$header['policy'] = $this
->t('Policy');
return $header + parent::buildHeader();
}