public function SalesforceMappingFieldPluginInterface::value in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php \Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface::value()
- 5.0.x modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php \Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface::value()
Given a Drupal entity, return the outbound value.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity being mapped.
\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface $mapping: The parent SalesforceMapping to which this plugin config belongs.
1 call to SalesforceMappingFieldPluginInterface::value()
- SalesforceMappingFieldPluginBase::pushValue in modules/
salesforce_mapping/ src/ SalesforceMappingFieldPluginBase.php - Munge the value that's being prepared to push to Salesforce.
12 methods override SalesforceMappingFieldPluginInterface::value()
- Broken::value in modules/
salesforce_mapping/ src/ Plugin/ SalesforceMappingField/ Broken.php - Given a Drupal entity, return the outbound value.
- Constant::value in modules/
salesforce_mapping/ src/ Plugin/ SalesforceMappingField/ Constant.php - Given a Drupal entity, return the outbound value.
- DrupalConstant::value in modules/
salesforce_mapping/ src/ Plugin/ SalesforceMappingField/ DrupalConstant.php - Given a Drupal entity, return the outbound value.
- Hardcoded::value in modules/
salesforce_example/ src/ Plugin/ SalesforceMappingField/ Hardcoded.php - Given a Drupal entity, return the outbound value.
- PropertiesBase::value in modules/
salesforce_mapping/ src/ Plugin/ SalesforceMappingField/ PropertiesBase.php - Given a Drupal entity, return the outbound value.
File
- modules/
salesforce_mapping/ src/ SalesforceMappingFieldPluginInterface.php, line 56
Class
- SalesforceMappingFieldPluginInterface
- Defines an interface for salesforce mapping plugins.
Namespace
Drupal\salesforce_mappingCode
public function value(EntityInterface $entity, SalesforceMappingInterface $mapping);