Search for class

  1. Search 7.x for class
  2. Search 8.9.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
ContentEntityNormalizer::$supportedInterfaceOrClass property core/modules/hal/src/Normalizer/ContentEntityNormalizer.php The interface or class that this Normalizer supports.
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.
ControllerResolver::$classResolver property core/lib/Drupal/Core/Controller/ControllerResolver.php The class resolver.
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
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.
DataNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/DataNormalizer.php The interface or class that this Normalizer supports.
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.
DateTimeIso8601Normalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php The interface or class that this Normalizer supports.
DateTimeNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/DateTimeNormalizer.php The interface or class that this Normalizer supports.
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.
DeprecatedEntityStorage::getCurrentEntityClass function core/modules/system/tests/modules/entity_test_deprecated_storage/src/Storage/DeprecatedEntityStorage.php Gets the current entity class via deprecated means.
DeprecatedEntityStorage::setEntityClass function core/modules/system/tests/modules/entity_test_deprecated_storage/src/Storage/DeprecatedEntityStorage.php Sets the entity class via deprecated means.
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.
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.
DocParserIgnoredClassesTest class core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php @coversDefaultClass \Drupal\Component\Annotation\Doctrine\DocParser

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