You are here

public function WidgetsConfig::__construct in Entity Browser 8

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

WidgetsConfig constructor.

Parameters

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

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

File

src/Form/WidgetsConfig.php, line 31

Class

WidgetsConfig
Form for configuring widgets for entity browser.

Namespace

Drupal\entity_browser\Form

Code

public function __construct(WidgetManager $widget_manager, MessengerInterface $messenger) {
  $this->widgetManager = $widget_manager;
  $this->messenger = $messenger;
}