You are here

public function AddUpdateFieldLocalAction::__construct in Scheduled Updates 8

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

src/Plugin/Derivative/AddUpdateFieldLocalAction.php, line 38
Contains \Drupal\scheduled_updates\Plugin\Derivative\AddUpdateFieldLocalAction.

Class

AddUpdateFieldLocalAction

Namespace

Drupal\scheduled_updates\Plugin\Derivative

Code

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