public function MappedObjectList::buildHeader in Salesforce Suite 8.3
Building the header and content lines for the SF Mapped Object list.
Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.
Overrides EntityListBuilder::buildHeader
File
- modules/
salesforce_mapping/ src/ MappedObjectList.php, line 84
Class
- MappedObjectList
- Provides a list controller for salesforce_mapping entity.
Namespace
Drupal\salesforce_mappingCode
public function buildHeader() {
$header['id'] = [
'data' => $this
->t('ID'),
'class' => [
RESPONSIVE_PRIORITY_LOW,
],
];
$header['mapped_entity'] = $this
->t('Entity');
$header['salesforce_link'] = $this
->t('Salesforce Record');
$header['mapping'] = [
'data' => $this
->t('Mapping'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
$header['changed'] = [
'data' => $this
->t('Last Updated'),
'class' => [
RESPONSIVE_PRIORITY_LOW,
],
];
return $header + parent::buildHeader();
}