function FieldUiLocalAction::__construct

Same name and namespace in other branches
  1. 11.x core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php \Drupal\field_ui\Plugin\Derivative\FieldUiLocalAction::__construct()
  2. 10 core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php \Drupal\field_ui\Plugin\Derivative\FieldUiLocalAction::__construct()
  3. 9 core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php \Drupal\field_ui\Plugin\Derivative\FieldUiLocalAction::__construct()
  4. 8.9.x core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php \Drupal\field_ui\Plugin\Derivative\FieldUiLocalAction::__construct()

Constructs a FieldUiLocalAction object.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider to load routes by name.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php, line 28

Class

FieldUiLocalAction
Provides local action definitions for all entity bundles.

Namespace

Drupal\field_ui\Plugin\Derivative

Code

public function __construct(protected RouteProviderInterface $routeProvider, protected EntityTypeManagerInterface $entityTypeManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.