Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
EntityType::checkStorageClass function core/lib/Drupal/Core/Entity/EntityType.php Checks that the provided class is compatible with the current entity type.
EntityType::getOriginalClass function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::getStorageClass function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::setStorageClass function core/lib/Drupal/Core/Entity/EntityType.php
EntityTypeBundleInfoTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The cache tags invalidator.
EntityTypeConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php
EntityTypeConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php Validates the EntityType constraint.
EntityTypeConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityTypeConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraintValidator.php
EntityTypeConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests validation constraints for EntityTypeConstraintValidator.
EntityTypeConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php The typed data manager to use.
EntityTypeConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
EntityTypeConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests the EntityTypeConstraintValidator.
EntityTypeEvent::getOriginal function core/lib/Drupal/Core/Entity/EntityTypeEvent.php The original entity type.
EntityTypeInfo::$validator property core/modules/content_moderation/src/EntityTypeInfo.php The state transition validation service.
EntityTypeInfo::addModerationToEntityType function core/modules/content_moderation/src/EntityTypeInfo.php Modifies an entity definition to include moderation support.
EntityTypeInfoTest::testBaseFieldOnlyAddedToModeratedEntityTypes function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php @covers ::entityBaseFieldInfo[[api-linebreak]]
EntityTypeInterface::getOriginalClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the name of the original entity type class.
EntityTypeInterface::getStorageClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the storage class.
EntityTypeInterface::setStorageClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets the storage class.
EntityTypeListener::$entityLastInstalledSchemaRepository property core/lib/Drupal/Core/Entity/EntityTypeListener.php The entity last installed schema repository.
EntityTypeManager::$entityLastInstalledSchemaRepository property core/lib/Drupal/Core/Entity/EntityTypeManager.php The entity last installed schema repository.
EntityTypeManager::getStorage function core/lib/Drupal/Core/Entity/EntityTypeManager.php
EntityTypeManagerInterface::getStorage function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Creates a new storage instance.
EntityTypeManagerTest::$entityLastInstalledSchemaRepository property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The entity last installed schema repository.
EntityTypeManagerTest::testGetStorage function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getStorage() method.
EntityTypeRepository class core/lib/Drupal/Core/Entity/EntityTypeRepository.php Provides helper methods for loading entity types.
EntityTypeRepository.php file core/lib/Drupal/Core/Entity/EntityTypeRepository.php
EntityTypeRepository::$classNameEntityTypeMap property core/lib/Drupal/Core/Entity/EntityTypeRepository.php Contains cached mappings of class names to entity types.
EntityTypeRepository::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityTypeRepository.php The entity type manager.
EntityTypeRepository::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepository.php
EntityTypeRepository::getEntityTypeLabels function core/lib/Drupal/Core/Entity/EntityTypeRepository.php
EntityTypeRepository::__construct function core/lib/Drupal/Core/Entity/EntityTypeRepository.php
EntityTypeRepositoryInterface interface core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Provides an interface for helper methods for loading entity types.
EntityTypeRepositoryInterface.php file core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php
EntityTypeRepositoryInterface::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Gets the entity type ID based on the class that is called on.
EntityTypeRepositoryInterface::getEntityTypeLabels function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Builds a list of entity type labels suitable for a Form API options list.
EntityTypeRepositoryTest class core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityTypeRepository[[api-linebreak]]
@group Entity
EntityTypeRepositoryTest.php file core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
EntityTypeRepositoryTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php The entity type bundle info service.
EntityTypeRepositoryTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php The entity type manager.
EntityTypeRepositoryTest::$entityTypeRepository property core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php The entity type repository under test.
EntityTypeRepositoryTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
EntityTypeRepositoryTest::setUpEntityTypeDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Sets up the entity type manager to be tested.
EntityTypeRepositoryTest::testGetEntityTypeFromClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguousBundleClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]

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