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. Other projects
Title Object type File name Summary
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.
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.
DatabaseDriver::$classLoader property core/lib/Drupal/Core/Extension/DatabaseDriver.php The container class loader.
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
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.