public function SalesforceMappingFieldPluginInterface::pushValue in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php \Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface::pushValue()
- 5.0.x modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php \Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface::pushValue()
Munge the value that's being prepared to push to Salesforce.
An extension of ::value, ::pushValue does some basic type-checking and validation against Salesforce field types to protect against basic data errors.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity being pushed.
\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface $mapping: The mapping.
Return value
mixed The value to be pushed to Salesforce.
1 method overrides SalesforceMappingFieldPluginInterface::pushValue()
- SalesforceMappingFieldPluginBase::pushValue in modules/
salesforce_mapping/ src/ SalesforceMappingFieldPluginBase.php - Munge the value that's being prepared to push to Salesforce.
File
- modules/
salesforce_mapping/ src/ SalesforceMappingFieldPluginInterface.php, line 73
Class
- SalesforceMappingFieldPluginInterface
- Defines an interface for salesforce mapping plugins.
Namespace
Drupal\salesforce_mappingCode
public function pushValue(EntityInterface $entity, SalesforceMappingInterface $mapping);