function MenuLinksetRoutes::__construct
EventSubscriber constructor.
Parameters
string[] $authenticationProviders: An array of authentication providers, keyed by ID.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
\Drupal\Core\Routing\RouteBuilderInterface $routeBuilder: The route builder.
File
-
core/
modules/ system/ src/ Routing/ MenuLinksetRoutes.php, line 37
Class
- MenuLinksetRoutes
- Dynamically defines routes for menu linkset endpoints.
Namespace
Drupal\system\RoutingCode
public function __construct(array $authenticationProviders, ConfigFactoryInterface $configFactory, RouteBuilderInterface $routeBuilder) {
$this->providerIds = array_keys($authenticationProviders);
}