You are here

public function EntityBrowserEditForm::__construct in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Form/EntityBrowserEditForm.php \Drupal\entity_browser\Form\EntityBrowserEditForm::__construct()

Constructs EntityBrowserEditForm form class.

Parameters

\Drupal\entity_browser\DisplayManager $display_manager: Entity browser display plugin manager.

\Drupal\entity_browser\WidgetSelectorManager $widget_selector_manager: Entity browser widget selector plugin manager.

\Drupal\entity_browser\SelectionDisplayManager $selection_display_manager: Entity browser selection display plugin manager.

\Drupal\entity_browser\WidgetManager $widget_manager: Entity browser widget plugin manager.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

File

src/Form/EntityBrowserEditForm.php, line 62

Class

EntityBrowserEditForm
Class EntityBrowserEditForm.

Namespace

Drupal\entity_browser\Form

Code

public function __construct(DisplayManager $display_manager, WidgetSelectorManager $widget_selector_manager, SelectionDisplayManager $selection_display_manager, WidgetManager $widget_manager, MessengerInterface $messenger) {
  $this->displayManager = $display_manager;
  $this->selectionDisplayManager = $selection_display_manager;
  $this->widgetSelectorManager = $widget_selector_manager;
  $this->widgetManager = $widget_manager;
  $this->messenger = $messenger;
}