EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php |
Tests getting the entity type ID from a deeply nested property path. |
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdIsStatic |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php |
Tests validating a bundle of a known (static) entity type ID. |
EntityBundleExistsConstraintValidatorTest::testInvalidEntityTypeId |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php |
Tests when the constraint's entityTypeId value is not valid. |
EntityBundleExistsConstraintValidatorTest::testValueMustBeAString |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php |
Tests that the constraint validator will only work with strings. |
EntityBundleFieldTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
Tests adding a custom bundle field. |
EntityBundleFieldTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
|
EntityBundleFieldTest::$database |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
The database connection used. |
EntityBundleFieldTest::$moduleHandler |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
The module handler. |
EntityBundleFieldTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
Modules to install. |
EntityBundleFieldTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
|
EntityBundleFieldTest::testCustomBundleFieldUsage |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php |
Tests making use of a custom bundle field. |
EntityBundleListCacheTest |
class |
core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php |
Tests that bundle tags are invalidated when entities change. |
EntityBundleListCacheTest.php |
file |
core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php |
|
EntityBundleListCacheTest::$defaultTheme |
property |
core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php |
The theme to install as the default for testing. |
EntityBundleListCacheTest::$modules |
property |
core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php |
Modules to install. |
EntityBundleListCacheTest::setUp |
function |
core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php |
|
EntityBundleListCacheTest::testBundleListingCache |
function |
core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php |
Tests that tags are invalidated when an entity with that bundle changes. |
EntityBundleListener |
class |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
Reacts to entity bundle CRUD on behalf of the Entity system. |
EntityBundleListener.php |
file |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
|
EntityBundleListener::$entityFieldManager |
property |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
The entity field manager. |
EntityBundleListener::$entityTypeBundleInfo |
property |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
The entity type bundle info. |
EntityBundleListener::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
The entity type manager. |
EntityBundleListener::$moduleHandler |
property |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
The module handler. |
EntityBundleListener::onBundleCreate |
function |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
Reacts to a bundle being created. |
EntityBundleListener::onBundleDelete |
function |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
Reacts to a bundle being deleted. |
EntityBundleListener::__construct |
function |
core/lib/Drupal/Core/Entity/EntityBundleListener.php |
Constructs a new EntityBundleListener. |
EntityBundleListenerInterface |
interface |
core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php |
An interface for reacting to entity bundle creation and deletion. |
EntityBundleListenerInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php |
|
EntityBundleListenerInterface::onBundleCreate |
function |
core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php |
Reacts to a bundle being created. |
EntityBundleListenerInterface::onBundleDelete |
function |
core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php |
Reacts to a bundle being deleted. |
EntityBundleListenerTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php |
@coversDefaultClass \Drupal\Core\Entity\EntityBundleListener |
EntityBundleListenerTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php |
|
EntityBundleListenerTest::testOnBundleCreate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php |
Test bundle creation. |
EntityBundleRouteEnhancer |
class |
core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php |
Sets the bundle parameter for routes with the _field_ui option. |
EntityBundleRouteEnhancer.php |
file |
core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php |
|
EntityBundleRouteEnhancer::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php |
The entity type manager service. |
EntityBundleRouteEnhancer::applies |
function |
core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php |
|
EntityBundleRouteEnhancer::enhance |
function |
core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php |
Updates the defaults for a route definition based on the request. |
EntityBundleRouteEnhancer::__construct |
function |
core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php |
Constructs a EntityBundleRouteEnhancer object. |
EntityCacheTagsTestBase |
class |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Provides helper methods for Entity cache tags tests. |
EntityCacheTagsTestBase.php |
file |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
|
EntityCacheTagsTestBase::$entity |
property |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
The main entity used for testing. |
EntityCacheTagsTestBase::$modules |
property |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Modules to install. |
EntityCacheTagsTestBase::$nonReferencingEntity |
property |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
The entity instance not referencing the main entity. |
EntityCacheTagsTestBase::$referencingEntity |
property |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
The entity instance referencing the main entity. |
EntityCacheTagsTestBase::createEntity |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Creates the entity to be tested. |
EntityCacheTagsTestBase::createReferenceTestEntities |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Creates a referencing and a non-referencing entity for testing purposes. |
EntityCacheTagsTestBase::getAccessCacheContextsForEntity |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Returns the access cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Returns the additional (non-standard) cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing |
function |
core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php |
Returns the additional cache tags for the tested entity's listing by type. |