You are here

public function SalesforceMapping::getDrupalEntityType 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::getDrupalEntityType()
  2. 8.3 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getDrupalEntityType()

Get the Drupal entity type name for this mapping, e.g. "node".

Return value

string The entity type id.

Overrides SalesforceMappingInterface::getDrupalEntityType

2 calls to SalesforceMapping::getDrupalEntityType()
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 463

Class

SalesforceMapping
Defines a Salesforce Mapping configuration entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getDrupalEntityType() {
  return $this->drupal_entity_type;
}