public function SalesforceMapping::doesPush in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::doesPush()
- 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::doesPush()
Checks mappings for any push operation.
Return value
bool TRUE if this mapping is configured to push.
Overrides SalesforceMappingInterface::doesPush
1 call to SalesforceMapping::doesPush()
- SalesforceMapping::calculateDependencies in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Calculates dependencies and stores them in the dependency property.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 461
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
public function doesPush() {
return $this
->checkTriggers([
MappingConstants::SALESFORCE_MAPPING_SYNC_DRUPAL_CREATE,
MappingConstants::SALESFORCE_MAPPING_SYNC_DRUPAL_UPDATE,
MappingConstants::SALESFORCE_MAPPING_SYNC_DRUPAL_DELETE,
]);
}