public function WSFieldLocalAction::__construct in Web Service Data 8
Same name and namespace in other branches
- 2.0.x modules/wsdata_field/src/Plugin/Derivative/WSFieldLocalAction.php \Drupal\wsdata_field\Plugin\Derivative\WSFieldLocalAction::__construct()
Constructs a WSFieldLocalAction 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 manager.
File
- modules/
wsdata_field/ src/ Plugin/ Derivative/ WSFieldLocalAction.php, line 34
Class
- WSFieldLocalAction
- Provides local action definitions for all entity bundles.
Namespace
Drupal\wsdata_field\Plugin\DerivativeCode
public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $entity_type_manager) {
$this->routeProvider = $route_provider;
$this->entityTypeManager = $entity_type_manager;
}