Search for definition
- Search 7.x for definition
- Search 9.5.x for definition
- Search 10.3.x for definition
- Search 11.x for definition
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContentTranslationUpdatesManager::updateDefinitions | function | core/ |
Executes field storage definition updates if needed. |
ContentTranslationUpdateTest::$entityDefinitionUpdateManager | property | core/ |
The entity definition update manager. |
drupal-8.update_deleted_field_definitions-2931436.php | file | core/ |
Contains SQL necessary to add a deleted field to the node entity type. |
EntityContextDefinitionDeprecationTest | class | core/ |
Test deprecated use of ContextDefinition as an EntityContextDefinition. |
EntityContextDefinitionDeprecationTest.php | file | core/ |
|
EntityContextDefinitionDeprecationTest::$compatibilityLayer | property | core/ |
The compatibility layer property on the context definition under test. |
EntityContextDefinitionDeprecationTest::$definition | property | core/ |
The context definition under test. |
EntityContextDefinitionDeprecationTest::setUp | function | core/ |
|
EntityContextDefinitionDeprecationTest::testAddConstraint | function | core/ |
Test that addConstraint() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testGetConstraint | function | core/ |
Test that getConstraint() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testGetConstraintObjects | function | core/ |
Test that getConstraintObjects() adds the EntityType constraint. |
EntityContextDefinitionDeprecationTest::testGetConstraints | function | core/ |
Test that getConstraints() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testIsSatisfiedBy | function | core/ |
Test that isSatisfiedBy() calls the compatibility layer. |
EntityContextDefinitionDeprecationTest::testSerialization | function | core/ |
Test that the BC layer survives serialization and unserialization. |
EntityContextDefinitionDeprecationTest::testSetConstraints | function | core/ |
Test that setConstraints() proxies to the compatibility layer. |
EntityDefinitionTestTrait | trait | core/ |
Provides some test methods used to update existing entity definitions. |
EntityDefinitionTestTrait.php | file | core/ |
|
EntityDefinitionTestTrait::addBaseField | function | core/ |
Adds a new base field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::addBaseFieldIndex | function | core/ |
Adds a single-field index to the base field. |
EntityDefinitionTestTrait::addBundleField | function | core/ |
Adds a new bundle field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::addEntityIndex | function | core/ |
Adds an index to the 'entity_test_update' entity type's base table. |
EntityDefinitionTestTrait::addLongNameBaseField | function | core/ |
Adds a long-named base field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::addRevisionableBaseField | function | core/ |
Adds a new revisionable base field to the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::deleteEntityType | function | core/ |
Removes the entity type. |
EntityDefinitionTestTrait::enableNewEntityType | function | core/ |
Enables a new entity type definition. |
EntityDefinitionTestTrait::makeBaseFieldEntityKey | function | core/ |
Promotes a field to an entity key. |
EntityDefinitionTestTrait::modifyBaseField | function | core/ |
Modifies the new base field from 'string' to 'text'. |
EntityDefinitionTestTrait::modifyBundleField | function | core/ |
Modifies the new bundle field from 'string' to 'text'. |
EntityDefinitionTestTrait::removeBaseField | function | core/ |
Removes the new base field from the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::removeBaseFieldIndex | function | core/ |
Removes the index added in addBaseFieldIndex(). |
EntityDefinitionTestTrait::removeBundleField | function | core/ |
Removes the new bundle field from the 'entity_test_update' entity type. |
EntityDefinitionTestTrait::removeEntityIndex | function | core/ |
Removes the index added in addEntityIndex(). |
EntityDefinitionTestTrait::renameBaseTable | function | core/ |
Renames the base table to 'entity_test_update_new'. |
EntityDefinitionTestTrait::renameDataTable | function | core/ |
Renames the data table to 'entity_test_update_data_new'. |
EntityDefinitionTestTrait::renameRevisionBaseTable | function | core/ |
Renames the revision table to 'entity_test_update_revision_new'. |
EntityDefinitionTestTrait::renameRevisionDataTable | function | core/ |
Renames the revision data table to 'entity_test_update_revision_data_new'. |
EntityDefinitionTestTrait::resetEntityType | function | core/ |
Resets the entity type definition. |
EntityDefinitionTestTrait::updateEntityTypeToNotRevisionable | function | core/ |
Updates the 'entity_test_update' entity type not revisionable. |
EntityDefinitionTestTrait::updateEntityTypeToNotTranslatable | function | core/ |
Updates the 'entity_test_update' entity type to not translatable. |
EntityDefinitionTestTrait::updateEntityTypeToRevisionable | function | core/ |
Updates the 'entity_test_update' entity type to revisionable. |
EntityDefinitionTestTrait::updateEntityTypeToRevisionableAndTranslatable | function | core/ |
Updates the 'entity_test_update' entity type to revisionable and translatable. |
EntityDefinitionTestTrait::updateEntityTypeToTranslatable | function | core/ |
Updates the 'entity_test_update' entity type to translatable. |
EntityDefinitionUpdateManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityDefinitionUpdateManager[[api-linebreak]] @group Entity @group legacy |
EntityDefinitionUpdateManagerTest.php | file | core/ |
|
EntityDefinitionUpdateManagerTest::testDeprecatedApplyUpdates | function | core/ |
@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/ |
|
EntityManager::clearCachedFieldDefinitions | function | core/ |
|
EntityManager::getActiveDefinition | function | core/ |
|
EntityManager::getActiveFieldStorageDefinitions | function | core/ |
|
EntityManager::getBaseFieldDefinitions | function | core/ |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.