You are here

public function DevelController::__construct in Devel 8.3

Same name and namespace in other branches
  1. 8 src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::__construct()
  2. 8.2 src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::__construct()
  3. 4.x src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::__construct()

EntityDebugController constructor.

Parameters

\Drupal\devel\DevelDumperManagerInterface $dumper: The dumper service.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info service.

\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_manager: The field type manager service.

\Drupal\Core\Field\FormatterPluginManager $formatter_plugin_manager: The field formatter plugin manager.

\Drupal\Core\Field\WidgetPluginManager $widget_plugin_manager: The field widget plugin manager.

File

src/Controller/DevelController.php, line 70

Class

DevelController
Returns responses for devel module routes.

Namespace

Drupal\devel\Controller

Code

public function __construct(DevelDumperManagerInterface $dumper, EntityTypeBundleInfoInterface $entity_type_bundle_info, FieldTypePluginManagerInterface $field_type_manager, FormatterPluginManager $formatter_plugin_manager, WidgetPluginManager $widget_plugin_manager) {
  $this->dumper = $dumper;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->fieldTypeManager = $field_type_manager;
  $this->formatterPluginManager = $formatter_plugin_manager;
  $this->widgetPluginManager = $widget_plugin_manager;
}