You are here

public function FieldGroupLocalAction::__construct in Field Group 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/Derivative/FieldGroupLocalAction.php \Drupal\field_group\Plugin\Derivative\FieldGroupLocalAction::__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

src/Plugin/Derivative/FieldGroupLocalAction.php, line 41

Class

FieldGroupLocalAction
Provides local action definitions for all entity bundles.

Namespace

Drupal\field_group\Plugin\Derivative

Code

public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $entity_type_manager) {
  $this->routeProvider = $route_provider;
  $this->entityTypeManager = $entity_type_manager;
}