public function EntityFormProxy::__construct in Lightning Media 8.2
Same name and namespace in other branches
- 8 src/Plugin/EntityBrowser/Widget/EntityFormProxy.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\EntityFormProxy::__construct()
EntityFormProxy constructor.
Parameters
array $configuration: Plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
mixed $event_dispatcher: The event dispatcher.
mixed $entity_type_manager: The entity type manager service.
mixed $widget_validation_manager: The widget validation manager.
\Drupal\lightning_media\MediaHelper $helper: The media helper service.
File
- src/
Plugin/ EntityBrowser/ Widget/ EntityFormProxy.php, line 45
Class
- EntityFormProxy
- Base class for EB widgets which wrap around an (inline) entity form.
Namespace
Drupal\lightning_media\Plugin\EntityBrowser\WidgetCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_type_manager, $widget_validation_manager, MediaHelper $helper) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_type_manager, $widget_validation_manager);
$this->helper = $helper;
}