Search for class

  1. Search 7.x for class
  2. Search 9.5.x for class
  3. Search 10.3.x for class
  4. Search 11.x for class
  5. Other projects
Title Object type File name Summary
CallableClass::__invoke function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ClaroViewsUiTest::testViewsUiDropButtonCssClasses function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroViewsUiTest.php Tests Views UI dropbutton CSS classes.
ClaroViewsUiTest::testViewsUiTabsCssClasses function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroViewsUiTest.php Tests Views UI display menu tabs CSS classes.
ClassFinder class core/lib/Drupal/Component/ClassFinder/ClassFinder.php A Utility class that uses active autoloaders to find a file for a class.
ClassFinder.php file core/lib/Drupal/Component/ClassFinder/ClassFinder.php
ClassFinder::findFile function core/lib/Drupal/Component/ClassFinder/ClassFinder.php
ClassFinderTest class core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @coversDefaultClass \Drupal\Component\ClassFinder\ClassFinder
@group ClassFinder
ClassFinderTest.php file core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php
ClassFinderTest::testFindFile function core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @covers ::findFile
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/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
ClassLoaderTest.php file core/tests/Drupal/Tests/Core/ClassLoader/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::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 =…
ClassRequiresAvailable class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand available_command
ClassRequiresAvailable::externalCommandIsAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php Determine if an external command is available.
ClassRequiresUnavailable class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand unavailable_command
ClassResolver class core/lib/Drupal/Core/DependencyInjection/ClassResolver.php Implements the class resolver interface supporting class names and services.
ClassResolver.php file core/lib/Drupal/Core/DependencyInjection/ClassResolver.php
ClassResolver::getInstanceFromDefinition function core/lib/Drupal/Core/DependencyInjection/ClassResolver.php Returns a class instance with a given class definition.
ClassResolverInterface interface core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php Provides an interface to get a instance of a class with dependency injection.
ClassResolverInterface.php file core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php
ClassResolverInterface::getInstanceFromDefinition function core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php Returns a class instance with a given class definition.
ClassWithConstants class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants::OTHER_KEY_ constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants::OTHER_KEY_2 constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants::SOME_KEY constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants::SOME_VALUE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithInvalidAnnotationTargetAtClass class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php Plugin annotation
@AnnotationTargetPropertyMethod("Some data");
ClassWithInvalidAnnotationTargetAtClass.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php
ClassWithInvalidAnnotationTargetAtClass::$foo property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php Plugin annotation
@AnnotationTargetPropertyMethod("Bar");
ClassWithInvalidAnnotationTargetAtMethod class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php Plugin annotation
@AnnotationTargetClass("Some data");
ClassWithInvalidAnnotationTargetAtMethod.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
ClassWithInvalidAnnotationTargetAtMethod::functionName function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php Plugin annotation
@AnnotationTargetClass("functionName");
ClassWithInvalidAnnotationTargetAtProperty class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php Plugin annotation
@AnnotationTargetClass("Some data");
ClassWithInvalidAnnotationTargetAtProperty.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php
ClassWithInvalidAnnotationTargetAtProperty::$bar property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php Plugin annotation
@AnnotationTargetAnnotation("Foo");
ClassWithInvalidAnnotationTargetAtProperty::$foo property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php Plugin annotation
@AnnotationTargetClass("Bar");
ClassWithValidAnnotationTarget class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php Plugin annotation
@AnnotationTargetClass("Some data");

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