public function FieldUiLocalAction::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php \Drupal\field_ui\Plugin\Derivative\FieldUiLocalAction::__construct()
- 10 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 $route_provider: The route provider to load routes by name.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/
modules/ field_ui/ src/ Plugin/ Derivative/ FieldUiLocalAction.php, line 34
Class
- FieldUiLocalAction
- Provides local action definitions for all entity bundles.
Namespace
Drupal\field_ui\Plugin\DerivativeCode
public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $entity_type_manager) {
$this->routeProvider = $route_provider;
$this->entityTypeManager = $entity_type_manager;
}