Search for classLoader

  1. Search 7.x for classLoader
  2. Search 9.5.x for classLoader
  3. Search 10.3.x for classLoader
  4. Search 11.x for classLoader
  5. Other projects
Title Object type File name Summary
ClassLoaderTest class core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php @group ClassLoader
@group legacy
@runTestsInSeparateProcesses
ClassLoaderTest class core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests class loading for modules.
ClassLoaderTest.php file core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php
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::setUp function core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php
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::testDrupalClassloadeRegisterDeprecation function core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php @expectedDeprecation drupal_classloader_register() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use the method ::addPsr4() of the class_loader service to register the namespace. See https://www.drupal.org/node/3035275.
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.
ClassLoaderTest::testSystemRegisterDeprecation function core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php @expectedDeprecation system_register() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. There is no replacement for this function. To achieve the same functionality use this snippet: $path =…
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.
drupal_classloader_register function core/includes/bootstrap.inc Registers an additional namespace.
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
ServerCommand::$classLoader property core/lib/Drupal/Core/Command/ServerCommand.php The class loader.
simpletest_classloader_register function core/modules/simpletest/simpletest.module Registers test namespaces of all extensions and core test classes.
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.