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 main 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 Modules to install.
BackwardsCompatibilityClassLoaderTest::testDoctrineException function core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests that the BC layer for Doctrine's AnnotationException works.
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 The flag to set 'apcu_ensure_unique_prefix' setting.
ClassLoaderTest::$defaultTheme property core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php The theme to install as the default for testing.
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.
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.
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.
MissingClassDetectionClassLoader class core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php Defines a classloader that detects missing classes.
MissingClassDetectionClassLoader.php file core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php
MissingClassDetectionClassLoader::$missingClass property core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php Flag indicating whether there was an attempt to load a missing class.
MissingClassDetectionClassLoader::$missingTraits property core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php An array of detected missing traits.
MissingClassDetectionClassLoader::getMissingTraits function core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php Returns all recorded missing traits since the last reset.
MissingClassDetectionClassLoader::hasMissingClass function core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php Returns whether there was an attempt to load a missing class.
MissingClassDetectionClassLoader::loadClass function core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php Records missing classes and aliases missing traits.
MissingClassDetectionClassLoader::reset function core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php Resets class variables.
ServerCommand::$classLoader property core/lib/Drupal/Core/Command/ServerCommand.php The class loader.
TestDiscovery::$classLoader property core/lib/Drupal/Core/Test/TestDiscovery.php The class loader.
TestSiteUserLoginCommand::$classLoader property core/tests/Drupal/TestSite/Commands/TestSiteUserLoginCommand.php The class loader to use for installation and initialization of setup.

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