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
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::getEntityType function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php Gets the entity type definition.
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
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.
EntityTestBundleClassHooks class core/modules/system/tests/modules/entity_test_bundle_class/src/Hook/EntityTestBundleClassHooks.php Hook implementations for entity_test_bundle_class.
EntityTestBundleClassHooks.php file core/modules/system/tests/modules/entity_test_bundle_class/src/Hook/EntityTestBundleClassHooks.php
EntityTestBundleClassHooks::entityBundleInfoAlter function core/modules/system/tests/modules/entity_test_bundle_class/src/Hook/EntityTestBundleClassHooks.php Implements hook_entity_bundle_info_alter().
EntityTestBundleClassHooks::entityTypeAlter function core/modules/system/tests/modules/entity_test_bundle_class/src/Hook/EntityTestBundleClassHooks.php Implements hook_entity_type_alter().
EntityTestBundleClassHooks::entityTypeBuild function core/modules/system/tests/modules/entity_test_bundle_class/src/Hook/EntityTestBundleClassHooks.php Implements hook_entity_type_build().
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
EntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/EntityType.php The class used to represent the entity type.
EntityType::$originalClass property core/lib/Drupal/Core/Entity/EntityType.php The name of the original entity type class.
EntityType::checkStorageClass function core/lib/Drupal/Core/Entity/EntityType.php Checks that the provided class is compatible with the current entity type.
EntityType::entityClassImplements function core/lib/Drupal/Core/Entity/EntityType.php Indicates if the entity type class implements the given interface.
EntityType::getAccessControlClass function core/lib/Drupal/Core/Entity/EntityType.php Gets the access control class.
EntityType::getFormClass function core/lib/Drupal/Core/Entity/EntityType.php Gets the form class for a specific operation.
EntityType::getHandlerClass function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::getHandlerClasses function core/lib/Drupal/Core/Entity/EntityType.php Gets an array of handlers.

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