public function SalesforcePullEntityValueEvent::__construct in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Event/SalesforcePullEntityValueEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEntityValueEvent::__construct()
- 8.3 modules/salesforce_mapping/src/Event/SalesforcePullEntityValueEvent.php \Drupal\salesforce_mapping\Event\SalesforcePullEntityValueEvent::__construct()
SalesforcePullEntityValueEvent constructor.
Parameters
mixed $value: The value to be assigned.
\Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface $fieldPlugin: The field plugin.
\Drupal\salesforce_mapping\Entity\MappedObjectInterface $mappedObject: The mapped object.
File
- modules/
salesforce_mapping/ src/ Event/ SalesforcePullEntityValueEvent.php, line 59
Class
- SalesforcePullEntityValueEvent
- Pull entity event.
Namespace
Drupal\salesforce_mapping\EventCode
public function __construct(&$value, SalesforceMappingFieldPluginInterface $fieldPlugin, MappedObjectInterface $mappedObject) {
$this->entityValue = $value;
$this->fieldPlugin = $fieldPlugin;
$this->mappedObject = $mappedObject;
$this->entity = $mappedObject
->getMappedEntity();
$this->mapping = $mappedObject
->getMapping();
}