| BundleClassTest::entityBundleInfoAlter |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Implements hook_entity_bundle_info_alter(). |
| BundleClassTest::testAmbiguousBundleClassExceptionEntityTypeRepository |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Checks exception is thrown if two entity types share the same bundle class. |
| BundleClassTest::testBundleClassShouldExtendEntityClass |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Checks exception thrown if a bundle class doesn't extend the entity class. |
| BundleClassTest::testEntityClassNotTakenFromActiveDefinitions |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Tests that a module can override an entity-type class. |
| BundleClassTest::testEntityNoBundleSubclass |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Tests making use of a custom bundle class for an entity without bundles. |
| BundleClassTest::testEntitySubclass |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Tests making use of a custom bundle class. |
| BundleClassTest::testNoAmbiguousBundleClassExceptionSharingEntityClass |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Checks that no exception is thrown when two bundles share an entity class. |
| BundleConfigImportValidate::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php |
The entity type manager service. |
| BundleDeleteFormTest::$entityTypeManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
The entity type manager. |
| BundleDeleteFormTest::testBundleEntityDeleteForm |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
Tests that deleting a bundle with content entities is not allowed. |
| BundleEntityDeleteForm |
class |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
A generic entity delete form for entities which are bundles. |
| BundleEntityDeleteForm.php |
file |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
|
| BundleEntityDeleteForm::buildForm |
function |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
Form constructor. |
| BundleEntityDeleteForm::getAdditionalReasonsToPreventDeletion |
function |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
Gets a list of additional reasons preventing deletion of the bundle entity. |
| BundleEntityDeleteForm::getContentEntityCount |
function |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
Gets the count of content entities of this form's bundle. |
| BundleEntityFormBase |
class |
core/lib/Drupal/Core/Entity/BundleEntityFormBase.php |
Class BundleEntityFormBase is a base form for bundle config entities. |
| BundleEntityFormBase.php |
file |
core/lib/Drupal/Core/Entity/BundleEntityFormBase.php |
|
| BundleEntityFormBase::protectBundleIdElement |
function |
core/lib/Drupal/Core/Entity/BundleEntityFormBase.php |
Protects the bundle entity's ID property's form element against changes. |
| BundleEntityStorageInterface |
interface |
core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php |
A storage that supports entities with bundle specific classes. |
| BundleEntityStorageInterface.php |
file |
core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php |
|
| BundleEntityStorageInterface::getBundleFromClass |
function |
core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php |
Retrieves the bundle name for a provided class name. |
| cache.entity |
service |
core/core.services.yml |
Drupal\Core\Cache\CacheBackendInterface |
| CacheabilityMetadataConfigOverrideTest::testConfigEntityOverride |
function |
core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php |
Tests if config overrides set cacheability metadata on config entities. |
| CacheableMetadataCalculationTest::$entityTypeManager |
property |
core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php |
The entity type manager. |
| CacheableUnprocessableEntityHttpException |
class |
core/lib/Drupal/Core/Http/Exception/CacheableUnprocessableEntityHttpException.php |
A cacheable UnprocessableEntityHttpException. |
| CacheableUnprocessableEntityHttpException.php |
file |
core/lib/Drupal/Core/Http/Exception/CacheableUnprocessableEntityHttpException.php |
|
| CacheableUnprocessableEntityHttpException::__construct |
function |
core/lib/Drupal/Core/Http/Exception/CacheableUnprocessableEntityHttpException.php |
|
| cache_context.entity_test_view_grants |
service |
core/modules/system/tests/modules/entity_test/entity_test.services.yml |
Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext |
| Callbacks::entityTestFormValidate |
function |
core/modules/system/tests/modules/entity_test/src/Callbacks.php |
Validation handler for the entity_test entity form. |
| Callbacks::entityTestFormValidateCheck |
function |
core/modules/system/tests/modules/entity_test/src/Callbacks.php |
Validation handler for the entity_test entity form. |
| ChainEntityResolver |
class |
core/modules/serialization/src/EntityResolver/ChainEntityResolver.php |
Resolver delegating the entity resolution to a chain of resolvers. |
| ChainEntityResolver.php |
file |
core/modules/serialization/src/EntityResolver/ChainEntityResolver.php |
|
| ChainEntityResolver::$resolvers |
property |
core/modules/serialization/src/EntityResolver/ChainEntityResolver.php |
The concrete resolvers. |
| ChainEntityResolver::addResolver |
function |
core/modules/serialization/src/EntityResolver/ChainEntityResolver.php |
Adds an entity resolver. |
| ChainEntityResolver::resolve |
function |
core/modules/serialization/src/EntityResolver/ChainEntityResolver.php |
Returns the local ID of an entity referenced by serialized data. |
| ChainEntityResolver::__construct |
function |
core/modules/serialization/src/EntityResolver/ChainEntityResolver.php |
Constructs a ChainEntityResolver object. |
| ChainEntityResolverInterface |
interface |
core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php |
An interface for delegating an entity resolution to a chain of resolvers. |
| ChainEntityResolverInterface.php |
file |
core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php |
|
| ChainEntityResolverInterface::addResolver |
function |
core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php |
Adds an entity resolver. |
| ChainEntityResolverTest |
class |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Tests Drupal\serialization\EntityResolver\ChainEntityResolver. |
| ChainEntityResolverTest.php |
file |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
|
| ChainEntityResolverTest::$testData |
property |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Test data passed to the resolve method. |
| ChainEntityResolverTest::$testEntityType |
property |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
A test entity type. |
| ChainEntityResolverTest::$testNormalizer |
property |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
A mocked normalizer. |
| ChainEntityResolverTest::createEntityResolverMock |
function |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Creates a mock entity resolver. |
| ChainEntityResolverTest::setUp |
function |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
|
| ChainEntityResolverTest::testResolverWithFirstResolved |
function |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Tests the resolve method with a matching resolver first. |
| ChainEntityResolverTest::testResolverWithLastResolved |
function |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Tests the resolve method with a matching resolver last. |
| ChainEntityResolverTest::testResolverWithNoneResolved |
function |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Tests the resolve method with no matching resolvers. |
| ChainEntityResolverTest::testResolverWithNoneResolvedUsingAddResolver |
function |
core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php |
Tests the resolve method with no matching resolvers, using addResolver. |