public AccessManager::__construct(RouteProviderInterface $route_provider, ParamConverterManagerInterface $paramconverter_manager, AccessArgumentsResolverFactoryInterface $arguments_resolver_factory, AccountInterface $current_user, CheckProviderInterface $check_provider)
Constructs a AccessManager instance.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.
\Drupal\Core\ParamConverter\ParamConverterManagerInterface $paramconverter_manager: The param converter manager.
\Drupal\Core\Access\AccessArgumentsResolverFactoryInterface $arguments_resolver_factory: The access arguments resolver.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
CheckProviderInterface $check_provider:
public function __construct(RouteProviderInterface $route_provider, ParamConverterManagerInterface $paramconverter_manager, AccessArgumentsResolverFactoryInterface $arguments_resolver_factory, AccountInterface $current_user, CheckProviderInterface $check_provider) { $this->routeProvider = $route_provider; $this->paramConverterManager = $paramconverter_manager; $this->argumentsResolverFactory = $arguments_resolver_factory; $this->currentUser = $current_user; $this->checkProvider = $check_provider; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Access!AccessManager.php/function/AccessManager::__construct/8.1.x