You are here

public function SalesforceMappingFieldPluginInterface::value in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php \Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface::value()
  2. 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.
10 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.
Hardcoded::value in modules/salesforce_example/src/Plugin/SalesforceMappingField/Hardcoded.php
Given a Drupal entity, return the outbound value.
Properties::value in modules/salesforce_mapping/src/Plugin/SalesforceMappingField/Properties.php
Given a Drupal entity, return the outbound value.
PropertiesExtended::value in modules/salesforce_mapping/src/Plugin/SalesforceMappingField/PropertiesExtended.php
Given a Drupal entity, return the outbound value.

... See full list

File

modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php, line 52

Class

SalesforceMappingFieldPluginInterface
Defines an interface for salesforce mapping plugins.

Namespace

Drupal\salesforce_mapping

Code

public function value(EntityInterface $entity, SalesforceMappingInterface $mapping);