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. Search main for class
  6. Other projects
Title Object type File name Summary
BackwardsCompatibilityClassLoaderTest::testDoctrineException function core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests that the BC layer for Doctrine's AnnotationException works.
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.
BarClass class core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Stub class which acts as a service to test the container.
BarClass.php file core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php
BarClass::$baz property core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Storage for a protected BazClass object.
BarClass::getBaz function core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Getter for our BazClass object.
BarClass::setBaz function core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Setter for our BazClass object.
BaseFieldOverride::getClass function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php Returns the class used for creating the typed data object.
BaseFieldOverrideTest::getClassTestCases function core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php Test cases for ::testGetClass.
BaseFieldOverrideTest::testGetClass function core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php Tests get class.
BaseRequirementsFulfilledValidatorTest::$eventClass property core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php The event class to throw to an error for.
BasicControllerClass class core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A class containing all kind of different controller methods.
BasicControllerClass::exampleControllerMethod function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerMethodWithArgument function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityNoUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityUnionType function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BazClass class core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php Stub class which acts as a service dependency, to test the container.
BazClass.php file core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php
BootableCommandTrait::$classLoader property core/lib/Drupal/Core/Command/BootableCommandTrait.php The class loader.
BootableCommandTraitTest::$classLoader property core/tests/Drupal/Tests/Core/Command/BootableCommandTraitTest.php The class loader, which is needed to boot Drupal.
broken_class_with_missing_dependency service core/modules/system/tests/modules/error_service_test/error_service_test.services.yml Drupal\error_service_test\LonelyMonkeyClass
BrowserHtmlDebugTrait::$htmlOutputClassName property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Class name for HTML output logging.
BrowserTestBase::$minkDefaultDriverClass property core/tests/Drupal/Tests/BrowserTestBase.php Mink class for the default driver to use.
BrowserTestBaseMockableClassTest class core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php A class extending BrowserTestBase for testing purposes.
BundleClassInheritanceException class core/lib/Drupal/Core/Entity/Exception/BundleClassInheritanceException.php Exception thrown if a bundle class does not extend the main entity class.
BundleClassInheritanceException.php file core/lib/Drupal/Core/Entity/Exception/BundleClassInheritanceException.php
BundleClassInheritanceException::__construct function core/lib/Drupal/Core/Entity/Exception/BundleClassInheritanceException.php Constructs a BundleClassInheritanceException.
BundleClassTest class core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests entity bundle classes.
BundleClassTest.php file core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
BundleClassTest::$alterAttributeBundleInfo property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Controls whether ::entityBundleInfoAlter() will alter bundle information.
BundleClassTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Modules to install.
BundleClassTest::$storage property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php The entity storage.
BundleClassTest::entityBundleInfoAlter function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Implements hook_entity_bundle_info_alter().
BundleClassTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
BundleClassTest::testAmbiguousBundleClassExceptionCreate function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two bundles share the same bundle class.
BundleClassTest::testAmbiguousBundleClassExceptionEntityTypeRepository function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two entity types share the same bundle class.
BundleClassTest::testBundleClassAttributeDiscovery function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests bundle class discovery via attributes.
BundleClassTest::testBundleClassShouldExist function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception thrown if a bundle class doesn't exist.
BundleClassTest::testBundleClassShouldExtendEntityClass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception thrown if a bundle class doesn't extend the entity class.
BundleClassTest::testEntityClassNotTakenFromActiveDefinitions function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests that a module can override an entity-type class.
BundleClassTest::testEntityNoBundleSubclass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests making use of a custom bundle class for an entity without bundles.
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.
CachePreWarmerTest::$classResolver property core/tests/Drupal/Tests/Core/PreWarm/CachePreWarmerTest.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/Attribute/CKEditor5Plugin.php Sets the class of the attributed class.

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