access_manager

Same name in other branches
  1. 8.9.x core/core.services.yml \access_manager
  2. 10 core/core.services.yml \access_manager

Class

Drupal\Core\Access\AccessManager
13 string references to access_manager
ConfigTranslationController::create in core/modules/config_translation/src/Controller/ConfigTranslationController.php
Instantiates a new instance of this class.
Drupal::accessManager in core/lib/Drupal.php
Returns the access manager service.
DrupalTest::testAccessManager in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the accessManager() method.
FormElement::processAutocomplete in core/lib/Drupal/Core/Render/Element/FormElement.php
Adds autocomplete functionality to elements.
LinkBase::create in core/modules/views/src/Plugin/views/field/LinkBase.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Access\AccessManager
  2. arguments:
  3. - '@router.route_provider'
  4. - '@paramconverter_manager'
  5. - '@access_arguments_resolver_factory'
  6. - '@current_user'
  7. - '@access_manager.check_provider'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.