constant SalesforceEvents::DELETE_ALLOWED in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x src/Event/SalesforceEvents.php \Drupal\salesforce\Event\SalesforceEvents::DELETE_ALLOWED
Dispatched before enqueueing or triggering an entity delete.
Event listeners should call $event->disallowDelete() to prevent delete.
The event listener method receives a \Drupal\salesforce_mapping\Event\SalesforceDeleteAllowedEvent instance.
File
- src/
Event/ SalesforceEvents.php, line 24
Class
- SalesforceEvents
- Defines events for Salesforce.
Namespace
Drupal\salesforce\EventCode
const DELETE_ALLOWED = 'salesforce.delete_allowed';