public function SalesforceMappingList::buildHeader in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping_ui/src/SalesforceMappingList.php \Drupal\salesforce_mapping_ui\SalesforceMappingList::buildHeader()
 
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- modules/
salesforce_mapping_ui/ src/ SalesforceMappingList.php, line 25  
Class
- SalesforceMappingList
 - Defines the filter format list controller.
 
Namespace
Drupal\salesforce_mapping_uiCode
public function buildHeader() {
  $header = [];
  $header['label'] = $this
    ->t('Label');
  $header['drupal_entity_type'] = $this
    ->t('Drupal Entity');
  $header['drupal_bundle'] = $this
    ->t('Drupal Bundle');
  $header['salesforce_object_type'] = $this
    ->t('Salesforce Object');
  return $header + parent::buildHeader();
}