You are here

protected function SalesforceMappingFieldsForm::getFieldPlugin in Salesforce Suite 8.3

Get a field plugin of the given type.

1 call to SalesforceMappingFieldsForm::getFieldPlugin()
SalesforceMappingFieldsForm::getRow in modules/salesforce_mapping/src/Form/SalesforceMappingFieldsForm.php
Helper function to return an empty row for the field mapping form.

File

modules/salesforce_mapping/src/Form/SalesforceMappingFieldsForm.php, line 316

Class

SalesforceMappingFieldsForm
Salesforce Mapping Fields Form.

Namespace

Drupal\salesforce_mapping\Form

Code

protected function getFieldPlugin($field_type) {
  $field_plugins = $this->mappingFieldPluginManager
    ->getDefinitions();
  return $field_plugins[$field_type];
}