You are here

public function SalesforceMappingFormBase::__construct in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php \Drupal\salesforce_mapping_ui\Form\SalesforceMappingFormBase::__construct()

SalesforceMappingFormBase constructor.

Parameters

\Drupal\salesforce_mapping\SalesforceMappingFieldPluginManager $mappingFieldPluginManager: Mapping plugin manager.

\Drupal\salesforce\Rest\RestClientInterface $client: Rest client.

\Drupal\salesforce_mapping\SalesforceMappableEntityTypesInterface $mappableEntityTypes: Mappable types.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: Bundle info service.

File

modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php, line 66

Class

SalesforceMappingFormBase
Salesforce Mapping Form base.

Namespace

Drupal\salesforce_mapping_ui\Form

Code

public function __construct(SalesforceMappingFieldPluginManager $mappingFieldPluginManager, RestClientInterface $client, SalesforceMappableEntityTypesInterface $mappableEntityTypes, EntityTypeBundleInfoInterface $bundleInfo) {
  $this->mappingFieldPluginManager = $mappingFieldPluginManager;
  $this->client = $client;
  $this->mappableEntityTypes = $mappableEntityTypes;
  $this->bundleInfo = $bundleInfo;
}