You are here

public function FormModeManagerDisplayEditForm::__construct in Form mode manager 8

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

Constructs a new FormModeManagerDisplayEditForm.

Parameters

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

\Drupal\Component\Plugin\PluginManagerBase $plugin_manager: The widget or formatter plugin manager.

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.

\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route builder service.

Overrides EntityDisplayFormBase::__construct

File

src/Form/FormModeManagerDisplayEditForm.php, line 51

Class

FormModeManagerDisplayEditForm
Form Mode Manager enhancements for edit form of the EntityFormDisplay.

Namespace

Drupal\form_mode_manager\Form

Code

public function __construct(FieldTypePluginManagerInterface $field_type_manager, PluginManagerBase $plugin_manager, CacheTagsInvalidatorInterface $cache_tags_invalidator, RouteBuilderInterface $route_builder) {
  parent::__construct($field_type_manager, $plugin_manager);
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
  $this->routeBuilder = $route_builder;
}