public function PropertiesExtended::__construct in Salesforce Suite 8.3
PropertiesExtended constructor.
Parameters
array $configuration: Plugin config.
string $plugin_id: Plugin id.
array $plugin_definition: Plugin definition.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: Entity type bundle info service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: Entity field manager.
\Drupal\salesforce\Rest\RestClientInterface $rest_client: Salesforce client.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: Entity manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $etm: ETM service.
\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: Date formatter service.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: Event dispatcher service.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler service.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
Overrides SalesforceMappingFieldPluginBase::__construct
File
- modules/
salesforce_mapping/ src/ Plugin/ SalesforceMappingField/ PropertiesExtended.php, line 79
Class
- PropertiesExtended
- Adapter for entity properties and fields.
Namespace
Drupal\salesforce_mapping\Plugin\SalesforceMappingFieldCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityTypeBundleInfoInterface $entity_type_bundle_info, EntityFieldManagerInterface $entity_field_manager, RestClientInterface $rest_client, EntityManagerInterface $entity_manager, EntityTypeManagerInterface $etm, DateFormatterInterface $dateFormatter, EventDispatcherInterface $event_dispatcher, ModuleHandlerInterface $moduleHandler) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_bundle_info, $entity_field_manager, $rest_client, $entity_manager, $etm, $dateFormatter, $event_dispatcher);
$this->moduleHandler = $moduleHandler;
}