public function FieldWidgetComponent::__construct in Flexiform 8
Overrides FormComponentBase::__construct
File
- src/
Plugin/ FormComponentType/ FieldWidgetComponent.php, line 64
Class
- FieldWidgetComponent
- Component class for field widgets.
Namespace
Drupal\flexiform\Plugin\FormComponentTypeCode
public function __construct($name, $options, FlexiformEntityFormDisplay $form_display, WidgetPluginManager $plugin_manager, ModuleHandlerInterface $module_handler) {
parent::__construct($name, $options, $form_display);
$this->moduleHandler = $module_handler;
$this->pluginManager = $plugin_manager;
}