public function SalesforcePushAllowedEvent::__construct in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Event/SalesforcePushAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforcePushAllowedEvent::__construct()
- 5.0.x modules/salesforce_mapping/src/Event/SalesforcePushAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforcePushAllowedEvent::__construct()
SalesforcePushAllowedEvent dispatched before building PushParams.
Parameters
\Drupal\salesforce_mapping\Entity\MappedObjectInterface $mapped_object: The mapped object.
string $op: One of Drupal\salesforce_mapping\MappingConstants:: SALESFORCE_MAPPING_SYNC_DRUPAL_CREATE SALESFORCE_MAPPING_SYNC_DRUPAL_UPDATE SALESFORCE_MAPPING_SYNC_DRUPAL_DELETE.
Overrides SalesforcePushOpEvent::__construct
File
- modules/
salesforce_mapping/ src/ Event/ SalesforcePushAllowedEvent.php, line 31
Class
- SalesforcePushAllowedEvent
- Push allowed event.
Namespace
Drupal\salesforce_mapping\EventCode
public function __construct(MappedObjectInterface $mapped_object, $op) {
parent::__construct($mapped_object, $op);
$this->op = $op;
}