public function FormComponentAddLocalAction::__construct in Flexiform 8
Constructs a FormComponentAddLocationAction 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.
\Drupal\flexiform\FormComponentTypePluginManager $form_component_type_manager: The form component type plugin manager.
File
- src/
Plugin/ Deriver/ FormComponentAddLocalAction.php, line 51
Class
- FormComponentAddLocalAction
- Provides local action definitions for all entity bundles.
Namespace
Drupal\flexiform\Plugin\DeriverCode
public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $entity_type_manager, FormComponentTypePluginManager $form_component_type_manager) {
$this->routeProvider = $route_provider;
$this->entityTypeManager = $entity_type_manager;
$this->formComponentTypeManager = $form_component_type_manager;
}