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
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.
DrupalStandardsListenerDeprecatedClass.php file core/modules/system/tests/modules/deprecation_test/src/Deprecation/DrupalStandardsListenerDeprecatedClass.php
DrupalStandardsListenerDeprecatedClass::testFunction function core/modules/system/tests/modules/deprecation_test/src/Deprecation/DrupalStandardsListenerDeprecatedClass.php Returns a known value.
DrupalTest::testClassResolver function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the classResolver method.
DrupalTest::testClassResolverWithClass function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the classResolver method when called with a class.
drupal_phpunit_populate_class_loader function core/tests/bootstrap.php Populate class loader with additional namespaces for tests.
ElementTest::testButtonClasses function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests button classes.
EntityBase::getTypedDataClass function core/lib/Drupal/Core/Entity/EntityBase.php Returns the typed data class name for this entity.
EntityDisplayBaseMockableClass class core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php A class extending EntityDisplayBase for testing purposes.
EntityDisplayBaseMockableClass::getPluginCollections function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php
EntityDisplayBaseMockableClass::getRenderer function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php Gets the renderer plugin for a field (e.g. widget, formatter).
EntityDisplayModeBaseTestableClass class core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php A class extending EntityDisplayModeBase for testing purposes.
EntityReferenceItemSubclass class core/modules/media_library/tests/modules/media_library_test/src/Plugin/Field/FieldType/EntityReferenceItemSubclass.php Plugin implementation of the 'entity_reference_subclass' field type.
EntityReferenceItemSubclass.php file core/modules/media_library/tests/modules/media_library_test/src/Plugin/Field/FieldType/EntityReferenceItemSubclass.php
EntityResolverManager::$classResolver property core/lib/Drupal/Core/Entity/EntityResolverManager.php The class resolver.
EntityResolverManager::getControllerClass function core/lib/Drupal/Core/Entity/EntityResolverManager.php Gets the controller class using route defaults.
EntityResolverManagerTest::$classResolver property core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php The mocked class resolver.
EntityResourceValidationTraitTestClass class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php A test class to use to test EntityResourceValidationTrait.
EntitySerializationTest::$entityClass property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The class name of the test class.
EntityStorageBase::$baseEntityClass property core/lib/Drupal/Core/Entity/EntityStorageBase.php Name of the base entity class.
EntityStorageBase::getEntitiesByClass function core/lib/Drupal/Core/Entity/EntityStorageBase.php Indexes the given array of entities by their class name and ID.
EntityStorageBase::getEntityClass function core/lib/Drupal/Core/Entity/EntityStorageBase.php Retrieves the class name used to create the entity.
EntityStorageInterface::getEntityClass function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Retrieves the class name used to create the entity.
EntityTestAmbiguousBundleClass class core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestAmbiguousBundleClass.php An ambiguous bundle class that is a subclass of two different entity classes.
EntityTestAmbiguousBundleClass.php file core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestAmbiguousBundleClass.php
EntityTestBundleClass class core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The bundle class for the bundle_class bundle of the entity_test entity.
EntityTestBundleClass.php file core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php
EntityTestBundleClass::$postCreateCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::postCreate() was called.
EntityTestBundleClass::$postDeleteCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::postDelete() was called.
EntityTestBundleClass::$postLoadCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::postLoad() was called.
EntityTestBundleClass::$postLoadEntitiesCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The size of the $entities array passed to each invocation of postLoad().
EntityTestBundleClass::$preCreateCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::preCreate() was called.
EntityTestBundleClass::$preDeleteCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::preDelete() was called.
EntityTestBundleClass::postCreate function core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php Acts on a created entity before hooks are invoked.
EntityTestBundleClass::postDelete function core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php Acts on deleted entities before the delete hook is invoked.
EntityTestBundleClass::postLoad function core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php Acts on loaded entities.
EntityTestBundleClass::preCreate function core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php Changes the values of an entity before it is created.
EntityTestBundleClass::preDelete function core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php Acts on entities before they are deleted and before hooks are invoked.
EntityTestUserClass class core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php A custom bundle class for the User entity.
EntityTestUserClass.php file core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php

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