protected function EntityFormField::getFieldTypeManager in Views Entity Form Field 8
The field type plugin manager.
This is loaded on-demand, since it's only needed during configuration.
Return value
\Drupal\Core\Field\FieldTypePluginManagerInterface The field type plugin manager.
File
- src/
Plugin/ views/ field/ EntityFormField.php, line 144
Class
- EntityFormField
- Defines a views form element for an entity field widget.
Namespace
Drupal\views_entity_form_field\Plugin\views\fieldCode
protected function getFieldTypeManager() {
if (is_null($this->fieldTypeManager)) {
$this->fieldTypeManager = \Drupal::service('plugin.manager.field.field_type');
}
return $this->fieldTypeManager;
}