protected function SalesforceMappingFieldsForm::getFieldPlugin in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x modules/salesforce_mapping_ui/src/Form/SalesforceMappingFieldsForm.php \Drupal\salesforce_mapping_ui\Form\SalesforceMappingFieldsForm::getFieldPlugin()
Get a field plugin of the given type.
1 call to SalesforceMappingFieldsForm::getFieldPlugin()
- SalesforceMappingFieldsForm::getRow in modules/
salesforce_mapping_ui/ src/ Form/ SalesforceMappingFieldsForm.php - Helper function to return an empty row for the field mapping form.
File
- modules/
salesforce_mapping_ui/ src/ Form/ SalesforceMappingFieldsForm.php, line 321
Class
- SalesforceMappingFieldsForm
- Salesforce Mapping Fields Form.
Namespace
Drupal\salesforce_mapping_ui\FormCode
protected function getFieldPlugin($field_type) {
$field_plugins = $this->mappingFieldPluginManager
->getDefinitions();
return $field_plugins[$field_type];
}