Search for entity

  1. Search 7.x for entity
  2. Search 9.5.x for entity
  3. Search 8.9.x for entity
  4. Search 11.x for entity
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Entity class core/modules/views/src/Plugin/views/argument_validator/Entity.php Defines an argument validator plugin for each entity type.
Entity class core/modules/views/src/Plugin/views/area/Entity.php Provides an area handler which renders an entity in a certain view mode.
Entity class core/modules/migrate/src/Plugin/migrate/destination/Entity.php Provides a generic destination to import entities.
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php This class is a near-copy of tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.

All search results

Title Object type File name Summary
EntityDecoupledTranslationRevisionsTest::doTestInternalProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that internal properties are preserved for the specified entity.
EntityDecoupledTranslationRevisionsTest::formatMessage function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Formats an assertion message.
EntityDecoupledTranslationRevisionsTest::generateNewEntityLabel function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Generates a new label for the specified revision.
EntityDecoupledTranslationRevisionsTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
EntityDecoupledTranslationRevisionsTest::testCreateRevisionHook function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that the revision create hook works as expected.
EntityDecoupledTranslationRevisionsTest::testDecoupledPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests decoupled default revisions.
EntityDecoupledTranslationRevisionsTest::testInternalProperties function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests that internal properties are preserved while creating a new revision.
EntityDecoupledTranslationRevisionsTest::testMultipleTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that changes to multiple translations are handled correctly.
EntityDecoupledTranslationRevisionsTest::testRemovedTranslations function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests that deleted translations are not accidentally restored.
EntityDecoupledTranslationRevisionsTest::testUntranslatableFields function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Tests that untranslatable fields are handled correctly.
EntityDefaultLanguageTest class core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Tests default language code is properly generated for entities.
EntityDefaultLanguageTest.php file core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php
EntityDefaultLanguageTest::$modules property core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Modules to install.
EntityDefaultLanguageTest::createContentType function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Creates a new node content type.
EntityDefaultLanguageTest::createNode function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Creates a new node of given type and language using Entity API.
EntityDefaultLanguageTest::setUp function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php
EntityDefaultLanguageTest::testEntityTranslationDefaultLanguageViaCode function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Tests that default language code is properly set for new nodes.
EntityDefinitionTestTrait trait core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Provides some test methods used to update existing entity definitions.
EntityDefinitionTestTrait.php file core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
EntityDefinitionTestTrait::addBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new base field to the &#039;entity_test_update&#039; entity type.
EntityDefinitionTestTrait::addBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a single-field index to the base field.
EntityDefinitionTestTrait::addBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new bundle field to the &#039;entity_test_update&#039; entity type.
EntityDefinitionTestTrait::addEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds an index to the &#039;entity_test_update&#039; entity type&#039;s base table.
EntityDefinitionTestTrait::addLongNameBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a long-named base field to the &#039;entity_test_update&#039; entity type.
EntityDefinitionTestTrait::addRevisionableBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new revisionable base field to the &#039;entity_test_update&#039; entity type.
EntityDefinitionTestTrait::applyEntityUpdates function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Applies all the detected valid changes.
EntityDefinitionTestTrait::deleteEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the entity type.
EntityDefinitionTestTrait::doEntityUpdate function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Performs an entity type definition update.
EntityDefinitionTestTrait::doFieldUpdate function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Performs a field storage definition update.
EntityDefinitionTestTrait::enableNewEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Enables a new entity type definition.
EntityDefinitionTestTrait::getUpdatedEntityTypeDefinition function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Returns an entity type definition, possibly updated to be rev or mul.
EntityDefinitionTestTrait::getUpdatedFieldStorageDefinitions function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Returns the required rev / mul field definitions for an entity type.
EntityDefinitionTestTrait::makeBaseFieldEntityKey function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Promotes a field to an entity key.
EntityDefinitionTestTrait::modifyBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Modifies the new base field from &#039;string&#039; to &#039;text&#039;.
EntityDefinitionTestTrait::modifyBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Modifies the new bundle field from &#039;string&#039; to &#039;text&#039;.
EntityDefinitionTestTrait::removeBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the new base field from the &#039;entity_test_update&#039; entity type.
EntityDefinitionTestTrait::removeBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addBaseFieldIndex().
EntityDefinitionTestTrait::removeBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the new bundle field from the &#039;entity_test_update&#039; entity type.
EntityDefinitionTestTrait::removeEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addEntityIndex().
EntityDefinitionTestTrait::renameBaseTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the base table to &#039;entity_test_update_new&#039;.
EntityDefinitionTestTrait::renameDataTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the data table to &#039;entity_test_update_data_new&#039;.
EntityDefinitionTestTrait::renameRevisionBaseTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the revision table to &#039;entity_test_update_revision_new&#039;.
EntityDefinitionTestTrait::renameRevisionDataTable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Renames the revision data table to &#039;entity_test_update_revision_data_new&#039;.
EntityDefinitionTestTrait::resetEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Resets the entity type definition.
EntityDefinitionTestTrait::updateEntityTypeToNotRevisionable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the &#039;entity_test_update&#039; entity type not revisionable.
EntityDefinitionTestTrait::updateEntityTypeToNotTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the &#039;entity_test_update&#039; entity type to not translatable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the &#039;entity_test_update&#039; entity type to revisionable.
EntityDefinitionTestTrait::updateEntityTypeToRevisionableAndTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the test entity type to be revisionable and translatable.
EntityDefinitionTestTrait::updateEntityTypeToTranslatable function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Updates the &#039;entity_test_update&#039; entity type to translatable.
EntityDefinitionUpdateManager class core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Manages entity definition updates.

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