7 calls to EntityDefinitionTestTrait::addBundleField()
- EntityDefinitionTestTrait::modifyBundleField in core/
modules/ system/ tests/ src/ Functional/ Entity/ Traits/ EntityDefinitionTestTrait.php - Modifies the new bundle field from 'string' to 'text'.
- EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating and deleting a bundle field if entities exist.
- EntityDefinitionUpdateTest::testBundleFieldCreateUpdateDeleteWithoutData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating, updating, and deleting a bundle field if no entities exist.
- EntityDefinitionUpdateTest::testBundleFieldDeleteWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests deleting a bundle field when it has existing data.
- EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a bundle field when the entity type schema has changed.
- EntityDefinitionUpdateTest::testBundleFieldUpdateWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a bundle field when it has existing data.
- FieldableEntityDefinitionUpdateTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldableEntityDefinitionUpdateTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.