public function SalesforceMapping::doesPull 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::doesPull()
- 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::doesPull()
Checks mappings for any pull operation.
Return value
bool TRUE if this mapping is configured to pull.
Overrides SalesforceMappingInterface::doesPull
2 calls to SalesforceMapping::doesPull()
- SalesforceMapping::calculateDependencies in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Calculates dependencies and stores them in the dependency property.
- SalesforceMapping::getPullQuery in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Generate a select query to pull records from Salesforce for this mapping.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 472
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
public function doesPull() {
return $this
->checkTriggers([
MappingConstants::SALESFORCE_MAPPING_SYNC_SF_CREATE,
MappingConstants::SALESFORCE_MAPPING_SYNC_SF_UPDATE,
MappingConstants::SALESFORCE_MAPPING_SYNC_SF_DELETE,
]);
}