You are here

public function FieldUiLocalAction::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php, line 39
Contains \Drupal\field_ui\Plugin\Derivative\FieldUiLocalAction.

Class

FieldUiLocalAction
Provides local action definitions for all entity bundles.

Namespace

Drupal\field_ui\Plugin\Derivative

Code

public function __construct(RouteProviderInterface $route_provider, EntityManagerInterface $entity_manager) {
  $this->routeProvider = $route_provider;
  $this->entityManager = $entity_manager;
}