class_resolver

Same name in other branches
  1. 9 core/core.services.yml \class_resolver
  2. 8.9.x core/core.services.yml \class_resolver

Class

Drupal\Core\DependencyInjection\ClassResolver
7 string references to class_resolver
Drupal::classResolver in core/lib/Drupal.php
Retrieves the class resolver.
DrupalTest::testClassResolver in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the classResolver method.
DrupalTest::testClassResolverWithClass in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the classResolver method when called with a class.
MenuLinkEditForm::create in core/modules/menu_ui/src/Form/MenuLinkEditForm.php
Instantiates a new instance of this class.
TestViewsTest::testDefaultConfig in core/modules/views/tests/src/Kernel/TestViewsTest.php
Tests default configuration data type.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\DependencyInjection\ClassResolver
  2. arguments:
  3. - '@service_container'

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