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, protected readonly ConfigFactoryInterface $configFactory, protected readonly RouteBuilderInterface $routeBuilder) {
  $this->providerIds = array_keys($authenticationProviders);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
