You are here

public function ExtraFieldPluginListController::__construct in Extra Field Settings Provider 8

Same name and namespace in other branches
  1. 8.2 src/Controller/ExtraFieldPluginListController.php \Drupal\extra_field_plus\Controller\ExtraFieldPluginListController::__construct()

Creates an ExtraFieldPluginListController object.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $plugin_manger: The extra fields plugin manager.

\Drupal\extra_field_plus\Plugin\ExtraFieldPlusFormManager $plugin_form_manger: The extra field plugin form manager.

File

src/Controller/ExtraFieldPluginListController.php, line 37

Class

ExtraFieldPluginListController
Class ExtraFieldPluginListController.

Namespace

Drupal\extra_field_plus\Controller

Code

public function __construct(PluginManagerInterface $plugin_manger, ExtraFieldPlusFormManager $plugin_form_manger) {
  $this->pluginManager = $plugin_manger;
  $this->pluginFormManager = $plugin_form_manger;
}