public EntityDisplayFormBase::__construct(FieldTypePluginManagerInterface $field_type_manager, PluginManagerBase $plugin_manager)
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 59
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\Form
Code
public function __construct(FieldTypePluginManagerInterface $field_type_manager, PluginManagerBase $plugin_manager) { $this->fieldTypes = $field_type_manager->getDefinitions(); $this->pluginManager = $plugin_manager; }
Please login to continue.