You are here

service class_resolver in Drupal 8

Same name and namespace in other branches
  1. 9 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
core/core.services.yml

View source
  1. class: Drupal\Core\DependencyInjection\ClassResolver
  2. calls:
  3. - [setContainer, ['@service_container']]