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
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 Tests get deriver class with invalid classed definitions.
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
DocParserIgnoredClassesTest class core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php Tests Drupal\Component\Annotation\Doctrine\DocParser.
DocParserIgnoredClassesTest.php file core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php
DocParserIgnoredClassesTest::testIgnoredAnnotationSkippedBeforeReflection function core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php Ensure annotations can be ignored when namespaces are present.
DocParserTest::testAnnotationWithoutClassIsIgnoredWithoutWarning function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests annotation without class is ignored without warning.
DocParserTest::testNotAnAnnotationClassIsIgnoredWithoutWarning function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests not an annotation class is ignored without warning.
DocParserTest::testSupportClassConstants function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests support class constants.
Drupal::classResolver function core/lib/Drupal.php Retrieves the class resolver.
DrupalAspectsOfCKEditor5Plugin::$class property core/modules/ckeditor5/src/Annotation/DrupalAspectsOfCKEditor5Plugin.php The CKEditor 5 plugin class.
DrupalComponentTest::findPhpClasses function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Searches a directory recursively for PHP classes.
DrupalKernel::$bootstrapContainerClass property core/lib/Drupal/Core/DrupalKernel.php Holds the class used for instantiating the bootstrap container.
DrupalKernel::$classLoader property core/lib/Drupal/Core/DrupalKernel.php The class loader object.
DrupalKernel::$phpArrayDumperClass property core/lib/Drupal/Core/DrupalKernel.php Holds the class used for dumping the container to a PHP array.
DrupalKernel::$serviceProviderClasses property core/lib/Drupal/Core/DrupalKernel.php List of discovered service provider class names or objects.
DrupalKernel::classLoaderAddMultiplePsr4 function core/lib/Drupal/Core/DrupalKernel.php Registers a list of namespaces with PSR-4 directories for class loading.
DrupalKernelTest::providerClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Data provider for self::testClassLoaderAutoDetect.
DrupalKernelTest::testClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests class_loader_auto_detect setting.
DrupalStandardsListenerDeprecatedClass class core/modules/system/tests/modules/deprecation_test/src/Deprecation/DrupalStandardsListenerDeprecatedClass.php Fixture class for use by DrupalStandardsListenerDeprecationTest.

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