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
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::$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::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::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
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/Annotation/CKEditor5Plugin.php Gets the class of the annotated class.
CKEditor5Plugin::getClass function core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php Gets the class of the attribute class.
CKEditor5Plugin::setClass function core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php Sets the class of the attributed class.
CKEditor5Plugin::setClass function core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php Sets the class of the annotated 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.

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