Search for classloader

  1. Search 7.x for classloader
  2. Search 9.5.x for classloader
  3. Search 8.9.x for classloader
  4. Search 10.3.x for classloader
  5. Search 11.x for classloader
  6. Other projects
Title Object type File name Summary
AutoloadingStorage::$classloader property core/lib/Drupal/Core/Config/AutoloadingStorage.php Class loader that loads code from extensions provided to the constructor.
BackwardsCompatibilityClassLoader class core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php Adds backwards compatibility support for deprecated classes.
BackwardsCompatibilityClassLoader.php file core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php
BackwardsCompatibilityClassLoader::loadClass function core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php Aliases a moved class to another class, instead of actually autoloading it.
BackwardsCompatibilityClassLoader::__construct function core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php
BackwardsCompatibilityClassLoaderPass class core/lib/Drupal/Core/DependencyInjection/Compiler/BackwardsCompatibilityClassLoaderPass.php Compiler pass to merge moved classes into a single container parameter.
BackwardsCompatibilityClassLoaderPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/BackwardsCompatibilityClassLoaderPass.php
BackwardsCompatibilityClassLoaderPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/BackwardsCompatibilityClassLoaderPass.php
BackwardsCompatibilityClassLoaderTest class core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests Drupal\Core\ClassLoader\BackwardsCompatibilityClassLoader.
BackwardsCompatibilityClassLoaderTest.php file core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php
BackwardsCompatibilityClassLoaderTest::$modules property core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php
BackwardsCompatibilityClassLoaderTest::testModuleMovedClass function core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests that a moved class from a module works.
BackwardsCompatibilityClassLoaderTest::testTranslationWrapper function core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests that the bc layer for TranslationWrapper works.
BootableCommandTrait::$classLoader property core/lib/Drupal/Core/Command/BootableCommandTrait.php The class loader.
BootableCommandTraitTest::$classLoader property core/tests/Drupal/Tests/Core/Command/BootableCommandTraitTest.php The class loader, which is needed to boot Drupal.
ClassLoaderTest class core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests class loading for modules.
ClassLoaderTest.php file core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
ClassLoaderTest::$apcuEnsureUniquePrefix property core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
ClassLoaderTest::$defaultTheme property core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
ClassLoaderTest::$expected property core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php The expected result from calling the module-provided class' method.
ClassLoaderTest::testAutoloadFromModuleFile function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests that .module files can use class constants in main section.
ClassLoaderTest::testClassLoading function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests that module-provided classes can be loaded when a module is enabled.
ClassLoaderTest::testClassLoadingDisabledModules function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests that module-provided classes can't be loaded from disabled modules.
ClassLoaderTest::testClassLoadingNotInstalledModules function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests that module-provided classes can't be loaded if module not installed.
ClassLoaderTest::testMultipleModules function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Ensures the negative caches in the class loader don't result in crashes.
Configuration::$debugClassLoaderEnabled property core/tests/Drupal/TestTools/Extension/DeprecationBridge/Configuration.php Indicates if the debug class loader is enabled.
DatabaseDriver::$classLoader property core/lib/Drupal/Core/Extension/DatabaseDriver.php The container class loader.
DeprecatedAutoloadAccess::getActualClassLoader function core/lib/Drupal/Core/Runtime/DeprecatedAutoloadAccess.php Lazy load the actual classloader once.
DrupalDebugClassLoader class core/tests/Drupal/TestTools/ErrorHandler/DrupalDebugClassLoader.php Extends Symfony's DebugClassLoader for Drupal-aware vendor boundaries.
DrupalDebugClassLoader.php file core/tests/Drupal/TestTools/ErrorHandler/DrupalDebugClassLoader.php
DrupalDebugClassLoader::$patchTypesProperty property core/tests/Drupal/TestTools/ErrorHandler/DrupalDebugClassLoader.php Cached ReflectionProperty for DebugClassLoader::$patchTypes.
DrupalDebugClassLoader::$returnTypesProperty property core/tests/Drupal/TestTools/ErrorHandler/DrupalDebugClassLoader.php Cached ReflectionProperty for DebugClassLoader::$returnTypes.
DrupalDebugClassLoader::checkAnnotations function core/tests/Drupal/TestTools/ErrorHandler/DrupalDebugClassLoader.php
DrupalDebugClassLoader::getExtensionName function core/tests/Drupal/TestTools/ErrorHandler/DrupalDebugClassLoader.php Extracts the Drupal extension name from a fully qualified class name.
DrupalDebugClassLoaderTest class core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Tests the DrupalDebugClassLoader.
DrupalDebugClassLoaderTest.php file core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php
DrupalDebugClassLoaderTest::$loader property core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php A DrupalDebugClassLoader instance for testing.
DrupalDebugClassLoaderTest::getReturnTypeDeprecations function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Returns only the return-type deprecations for a given class.
DrupalDebugClassLoaderTest::setUp function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php
DrupalDebugClassLoaderTest::setUpBeforeClass function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php
DrupalDebugClassLoaderTest::testCrossModuleReturnTypeDeprecation function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Tests that cross-module return type deprecations are generated.
DrupalDebugClassLoaderTest::testNoDeprecation function core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php Tests scenarios that should NOT trigger cross-module deprecations.
DrupalKernel::$classLoader property core/lib/Drupal/Core/DrupalKernel.php The class loader object.
DrupalKernel::classLoaderAddMultiplePsr4 function core/lib/Drupal/Core/DrupalKernel.php Registers a list of namespaces with PSR-4 directories for class loading.
DrupalKernelTest::providerClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Data provider for self::testClassLoaderAutoDetect.
DrupalKernelTest::testClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests class_loader_auto_detect setting.
drupal_debug_classloader_test_classes.php file core/tests/fixtures/TestTools/drupal_debug_classloader_test_classes.php
FunctionalTestSetupTrait::$classLoader property core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php The class loader to use for installation and initialization of setup.
InstallCommand::$classLoader property core/lib/Drupal/Core/Command/InstallCommand.php The class loader.
KernelTestBase::$classLoader property core/tests/Drupal/KernelTests/KernelTestBase.php The class loader.

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