public function EntityDisplayFormBase::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::__construct()
Constructs a new EntityDisplayFormBase.
Parameters
\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_manager: The field type manager.
\Drupal\Component\Plugin\PluginManagerBase $plugin_manager: The widget or formatter plugin manager.
File
- core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php, line 66 - Contains \Drupal\field_ui\Form\EntityDisplayFormBase.
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
public function __construct(FieldTypePluginManagerInterface $field_type_manager, PluginManagerBase $plugin_manager) {
$this->fieldTypes = $field_type_manager
->getDefinitions();
$this->pluginManager = $plugin_manager;
}