You are here

public function SalesforceMapping::getDrupalBundle in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getDrupalBundle()
  2. 8.3 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getDrupalBundle()

Get the Drupal bundle name for this mapping, e.g. "article".

Return value

string The bundle.

Overrides SalesforceMappingInterface::getDrupalBundle

2 calls to SalesforceMapping::getDrupalBundle()
SalesforceMapping::calculateDependencies in modules/salesforce_mapping/src/Entity/SalesforceMapping.php
Calculates dependencies and stores them in the dependency property.
SalesforceMapping::onDependencyRemoval in modules/salesforce_mapping/src/Entity/SalesforceMapping.php
Informs the entity that entities it depends on will be deleted.

File

modules/salesforce_mapping/src/Entity/SalesforceMapping.php, line 470

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getDrupalBundle() {
  return $this->drupal_bundle;
}