8 calls to EntityDefinitionTestTrait::addBaseField() in Zircon Profile 8
- EntityDefinitionTestTrait::modifyBaseField in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionTestTrait.php - Modifies the new base field from 'string' to 'text'.
- EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Tests creating and deleting a base field if entities exist.
- EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Tests creating, updating, and deleting a base field if no entities exist.
- EntityDefinitionUpdateTest::testBaseFieldDeleteWithExistingData in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Tests deleting a base field when it has existing data.
- EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a base field when it has existing data.
- EntityDefinitionUpdateTest::testBaseFieldUpdateWithExistingData in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a base field when it has existing data.
- EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Ensures that a new field and index on a shared table are created.
- EntityDefinitionUpdateTest::testEntityTypeSchemaUpdateAndBaseFieldCreateWithoutData in core/
modules/ system/ src/ Tests/ Entity/ EntityDefinitionUpdateTest.php - Tests updating entity schema and creating a base field.