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 11.x for class
  5. Other projects
Title Object type File name Summary
ContentEntityBaseMockableClass.php file core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php
ContentEntityStorageBase::getBundleFromClass function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Retrieves the bundle name for a provided class name.
ContentEntityStorageBase::getEntityClass function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Retrieves the class name used to create the entity.
ContentEntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php The class used to represent the entity type.
ContentEntityType::checkStorageClass function core/lib/Drupal/Core/Entity/ContentEntityType.php
ContextDefinition::getDefinitionClass function core/lib/Drupal/Core/Annotation/ContextDefinition.php Determines the context definition class to use.
ControllerResolverTest::testCreateControllerNonExistentClass function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests createController() with a non-existent class.
CustomAnnotationClassDiscoveryTest class core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php Tests that a custom annotation class is used.
CustomAnnotationClassDiscoveryTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php
CustomAnnotationClassDiscoveryTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomAnnotationClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest class core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php Tests discovery of annotated plugins in a custom directory.
CustomDirectoryAnnotatedClassDiscoveryTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
DatabaseDriver::$classLoader property core/lib/Drupal/Core/Extension/DatabaseDriver.php The container class loader.
DatabaseTest::$additionalClassloader property core/tests/Drupal/Tests/Core/Database/DatabaseTest.php A classloader to enable testing of contrib drivers.
DataDefinition::getClass function core/lib/Drupal/Core/TypedData/DataDefinition.php Returns the class used for creating the typed data object.
DataDefinition::setClass function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets the class used for creating the typed data object.
DataDefinitionInterface::getClass function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the class used for creating the typed data object.
DataType::$definition_class property core/lib/Drupal/Core/TypedData/Annotation/DataType.php The definition class to use for defining data of this type.
DataType::$list_class property core/lib/Drupal/Core/TypedData/Annotation/DataType.php The typed data class used for wrapping multiple data items of the type.
DataType::$list_definition_class property core/lib/Drupal/Core/TypedData/Annotation/DataType.php The definition class to use for defining a list of items of this type.
DbLogController::getLogLevelClassMap function core/modules/dblog/src/Controller/DbLogController.php Gets an array of log level classes.
DebugExtension::SYMFONY_VAR_DUMPER_CLASS constant core/lib/Drupal/Core/Template/DebugExtension.php The Symfony VarDumper class.
DefaultFactory::getPluginClass function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Finds the class relevant for a given plugin.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultPluginManagerTest::testDefaultPluginManagerWithPluginExtendingNonInstalledClass function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests the plugin manager with a plugin that extends a non-installed class.
DefaultStyle::$usesRowClass property core/modules/views/src/Plugin/views/style/DefaultStyle.php Does the style plugin support custom css class for the rows.
DerivativeDiscoveryDecorator::getDeriverClass function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Gets the deriver class name from the base plugin definition.
DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithClassedDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests getDeriverClass with classed objects instead of arrays.
DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithInvalidClassedDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php @covers ::getDeriverClass
DestinationCategoryTest::getConfigurationClasses function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php Get configuration classes.
DestinationCategoryTest::getContentClasses function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php Get content classes.
DiscoveryCachedTraitMockableClass class core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php A class using the DiscoveryCachedTrait for mocking purposes.
DiscoveryCachedTraitMockableClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php
DiscoveryTraitMockableClass class core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php A class using the DiscoveryTrait for mocking purposes.
DiscoveryTraitMockableClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php
DocParser::$classExists property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php This hashmap is used internally to cache results of class_exists()
look-ups.
DocParser::$classIdentifiers property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php An array of all valid tokens for a class name.
DocParser::classExists function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Attempts to check if a class exists or not. This never goes through the PHP autoloading mechanism
but uses the {@link AnnotationRegistry} to load classes.
DocParser::getClassConstantPositionInIdentifier function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParser::identifierEndsWithClassConstant function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php

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