public function SalesforcePullEvent::__construct in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Event/SalesforcePullEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEvent::__construct()
- 5.0.x modules/salesforce_mapping/src/Event/SalesforcePullEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEvent::__construct()
SalesforcePullEvent constructor.
Parameters
\Drupal\salesforce_mapping\Entity\MappedObjectInterface $mappedObject: The mapped object.
string $op: The operation.
File
- modules/
salesforce_mapping/ src/ Event/ SalesforcePullEvent.php, line 61
Class
- SalesforcePullEvent
- Salesforce pull event.
Namespace
Drupal\salesforce_mapping\EventCode
public function __construct(MappedObjectInterface $mappedObject, $op) {
$this->mappedObject = $mappedObject;
$this->entity = $mappedObject
->getMappedEntity();
$this->mapping = $mappedObject
->getMapping();
$this->op = $op;
$this->pullAllowed = TRUE;
}