Search for class

  1. Search 7.x for class
  2. Search 9.5.x for class
  3. Search 8.9.x for class
  4. Search 10.3.x for class
  5. Other projects
Title Object type File name Summary
BundleClassTest::testEntitySubclass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests making use of a custom bundle class.
BundleClassTest::testNoAmbiguousBundleClassExceptionSharingEntityClass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks that no exception is thrown when two bundles share an entity class.
BundleEntityStorageInterface::getBundleFromClass function core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php Retrieves the bundle name for a provided class name.
CallableClass class core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
CallableClass::__invoke function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
CKEditor5Plugin::getClass function core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php Gets the class of the attribute class.
CKEditor5Plugin::getClass function core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php Gets the class of the annotated class.
CKEditor5Plugin::setClass function core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php Sets the class of the annotated class.
CKEditor5Plugin::setClass function core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php Sets the class of the attributed class.
CKEditor5PluginDefinition::getClass function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
CKEditor5PluginDefinition::setClass function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Sets the class.
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 Finds a class.
ClassFinderInterface interface core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php Finds a class in a PSR-0 structure.
ClassFinderInterface.php file core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php
ClassFinderInterface::findFile function core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php Finds a class.
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/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.
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.
ClassResolver::__construct function core/lib/Drupal/Core/DependencyInjection/ClassResolver.php Constructs a new ClassResolver object.
ClassResolverInterface interface core/lib/Drupal/Core/DependencyInjection/ClassResolverInterface.php Provides interface to get an 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

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