You are here

10 calls to EntityDefinitionTestTrait::addBaseField() in Drupal 8

EntityDefinitionTestTrait::modifyBaseField in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
Modifies the new base field from 'string' to 'text'.
EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating and deleting a base field if entities exist.
EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating, updating, and deleting a base field if no entities exist.
EntityDefinitionUpdateTest::testBaseFieldDeleteWithExistingData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests deleting a base field when it has existing data.
EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests updating a base field when it has existing data.
EntityDefinitionUpdateTest::testBaseFieldUpdateWithExistingData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests updating a base field when it has existing data.
EntityDefinitionUpdateTest::testBaseFieldWithoutLabelCreateUpdateDelete in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating, updating, and deleting a base field with no label set
EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Ensures that a new field and index on a shared table are created.
EntityDefinitionUpdateTest::testInitialValue in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests adding a base field with initial values.
EntityDefinitionUpdateTest::testInitialValueFromFieldErrorHandling in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests the error handling when using initial values from another field.