Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 10.3.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
ContentTranslationUpdatesManager::updateDefinitions function core/modules/content_translation/src/ContentTranslationUpdatesManager.php Executes field storage definition updates if needed.
ContentTranslationUpdateTest::$entityDefinitionUpdateManager property core/modules/content_translation/tests/src/Functional/Update/ContentTranslationUpdateTest.php The entity definition update manager.
drupal-8.update_deleted_field_definitions-2931436.php file core/modules/field/tests/fixtures/update/drupal-8.update_deleted_field_definitions-2931436.php Contains SQL necessary to add a deleted field to the node entity type.
EntityContextDefinitionDeprecationTest class core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test deprecated use of ContextDefinition as an EntityContextDefinition.
EntityContextDefinitionDeprecationTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php
EntityContextDefinitionDeprecationTest::$compatibilityLayer property core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php The compatibility layer property on the context definition under test.
EntityContextDefinitionDeprecationTest::$definition property core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php The context definition under test.
EntityContextDefinitionDeprecationTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php
EntityContextDefinitionDeprecationTest::testAddConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that addConstraint() proxies to the compatibility layer.
EntityContextDefinitionDeprecationTest::testGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that getConstraint() proxies to the compatibility layer.
EntityContextDefinitionDeprecationTest::testGetConstraintObjects function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that getConstraintObjects() adds the EntityType constraint.
EntityContextDefinitionDeprecationTest::testGetConstraints function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that getConstraints() proxies to the compatibility layer.
EntityContextDefinitionDeprecationTest::testIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that isSatisfiedBy() calls the compatibility layer.
EntityContextDefinitionDeprecationTest::testSerialization function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that the BC layer survives serialization and unserialization.
EntityContextDefinitionDeprecationTest::testSetConstraints function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that setConstraints() proxies to the compatibility layer.
EntityDefinitionTestTrait trait core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Provides some test methods used to update existing entity definitions.
EntityDefinitionTestTrait.php file core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php
EntityDefinitionTestTrait::addBaseField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a new base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addBaseFieldIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a single-field index to the base field.
EntityDefinitionTestTrait::addBundleField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a new bundle field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addEntityIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds an index to the 'entity_test_update' entity type's base table.
EntityDefinitionTestTrait::addLongNameBaseField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a long-named base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addRevisionableBaseField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a new revisionable base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::deleteEntityType function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the entity type.
EntityDefinitionTestTrait::enableNewEntityType function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Enables a new entity type definition.
EntityDefinitionTestTrait::makeBaseFieldEntityKey function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Promotes a field to an entity key.
EntityDefinitionTestTrait::modifyBaseField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Modifies the new base field from 'string' to 'text'.
EntityDefinitionTestTrait::modifyBundleField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Modifies the new bundle field from 'string' to 'text'.
EntityDefinitionTestTrait::removeBaseField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the new base field from the 'entity_test_update' entity type.
EntityDefinitionTestTrait::removeBaseFieldIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the index added in addBaseFieldIndex().
EntityDefinitionTestTrait::removeBundleField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the new bundle field from the 'entity_test_update' entity type.
EntityDefinitionTestTrait::removeEntityIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the index added in addEntityIndex().
EntityDefinitionTestTrait::renameBaseTable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Renames the base table to 'entity_test_update_new'.
EntityDefinitionTestTrait::renameDataTable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Renames the data table to 'entity_test_update_data_new'.
EntityDefinitionTestTrait::renameRevisionBaseTable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Renames the revision table to 'entity_test_update_revision_new'.
EntityDefinitionTestTrait::renameRevisionDataTable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Renames the revision data table to 'entity_test_update_revision_data_new'.
EntityDefinitionTestTrait::resetEntityType function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Resets the entity type definition.
EntityDefinitionTestTrait::updateEntityTypeToNotRevisionable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type not revisionable.
EntityDefinitionTestTrait::updateEntityTypeToNotTranslatable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to not translatable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to revisionable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionableAndTranslatable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to revisionable and
translatable.
EntityDefinitionTestTrait::updateEntityTypeToTranslatable function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Updates the 'entity_test_update' entity type to translatable.
EntityDefinitionUpdateManagerTest class core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDefinitionUpdateManager[[api-linebreak]]
@group Entity
@group legacy
EntityDefinitionUpdateManagerTest.php file core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php
EntityDefinitionUpdateManagerTest::testDeprecatedApplyUpdates function core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php @expectedDeprecation Unsilenced deprecation: EntityDefinitionUpdateManagerInterface::applyUpdates() is deprecated in 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getChangeList() and…
EntityManager::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::clearCachedFieldDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getActiveDefinition function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getActiveFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getBaseFieldDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php

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