public function SalesforceDeleteAllowedEvent::isDeleteAllowed in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforceDeleteAllowedEvent::isDeleteAllowed()
Returns FALSE if delete is disallowed.
Note: a subscriber cannot "force" a delete when any other subscriber has disallowed it.
Return value
false|null Returns FALSE if DELETE_ALLOWED event has been fired, and any subscriber wants to prevent delete. Otherwise, returns NULL.
File
- modules/
salesforce_mapping/ src/ Event/ SalesforceDeleteAllowedEvent.php, line 86
Class
- SalesforceDeleteAllowedEvent
- Delete allowed event.
Namespace
Drupal\salesforce_mapping\EventCode
public function isDeleteAllowed() {
return $this->deleteAllowed === FALSE ? FALSE : NULL;
}