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 11.x for classLoader
  5. Other projects
Title Object type File name Summary
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.
DatabaseDriver::$classLoader property core/lib/Drupal/Core/Extension/DatabaseDriver.php The container class loader.
DatabaseTest::$additionalClassloader property core/tests/Drupal/Tests/Core/Database/DatabaseTest.php A classloader to enable testing of contrib drivers.
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
RecipeCommand::$classLoader property core/lib/Drupal/Core/Recipe/RecipeCommand.php The class loader.
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.