Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * {@inheritdoc}
- */
- public function isSyncAllowed($action) {
- if (!$this->mappingObject) {
- throw new SalesforceException('Salesforce mapping object is not set.');
- }
- return $action == SalesforceSync::SYNC_ACTION_DELETE || $this->mappingObject->getMappedEntityId();
- }
Add Comment
Please, Sign In to add comment