You are here

41 calls to entity_test_create_bundle() in Drupal 9

BulkDeleteTest::setUp in core/modules/field/tests/src/Kernel/BulkDeleteTest.php
Set the default field storage backend for fields created during tests.
ClaroEntityDisplayTest::testExtraFields in core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroEntityDisplayTest.php
Copied from parent.
CommentCacheTagsTest::createEntity in core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
Creates the entity to be tested.
CommentNonNodeTest::setUp in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
CommentNonNodeTest::testsNonIntegerIdEntities in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
Tests comment fields cannot be added to entity types without integer IDs.
CommentResourceTestBase::createEntity in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
Creates the entity to be tested.
CommentTest::createEntity in core/modules/jsonapi/tests/src/Functional/CommentTest.php
Creates the entity to be tested.
CommonCollectionFilterAccessTestPatternsTrait::doTestCollectionFilterAccessBasedOnPermissions in core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php
Implements ::testCollectionFilterAccess() for pure permission-based access.
ConfigTranslationCacheTest::testFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php
Tests the translation of field and field storage configuration.
ConfigTranslationUiTest::testBooleanFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the translation of a boolean field settings.
ConfigTranslationUiTest::testFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the translation of field and field storage configuration.
ContentModerationStateTest::testWorkflowNonConfigBundleDependencies in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests the content moderation workflow dependencies for non-config bundles.
DefaultsSectionStorageTest::setUp in core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php
EntityAddUITest::testAddPageWithoutBundleEntities in core/modules/system/tests/src/Functional/Entity/EntityAddUITest.php
Tests the add page for an entity type not using bundle entities.
EntityBundleFieldTest::testCustomBundleFieldUsage in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php
Tests making use of a custom bundle field.
EntityBundleListenerTest::testOnBundleCreate in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php
@covers ::onBundleCreate
EntityCacheTagsTestBase::createReferenceTestEntities in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Creates a referencing and a non-referencing entity for testing purposes.
EntityConverterTest::setUp in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php
EntityDefinitionUpdateTest::testBundleFieldDeleteWithExistingData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests deleting a bundle field when it has existing data.
EntityDefinitionUpdateTest::testBundleFieldUpdateWithExistingData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests updating a bundle field when it has existing data.
EntityDeriverTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityDeriverTest.php
EntityDisplayTest::testExtraFieldComponent in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests the behavior of a field component within an entity display object.
EntityDisplayTest::testExtraFieldComponentInitialInvalidConfig in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests the behavior of an extra field component with initial invalid values.
EntityDisplayTest::testExtraFields in core/modules/field_ui/tests/src/FunctionalJavascript/EntityDisplayTest.php
Tests extra fields.
EntityFieldTest::testDataTypes in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Makes sure data types are correctly derived for all entity types.
EntityFieldTest::testFieldOverrideBundleField in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Tests creating a field override config for a bundle field.
EntityQueryRelationshipTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
EntityQueryTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityReferenceFieldTest::testEntityReferenceFieldValidation in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests reference field validation.
EntityReferenceSettingsTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php
EntityViewHookTest::testHookEntityDisplayBuildAlter in core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
Tests hook_entity_display_build_alter().
FieldAttachStorageTest::testEntityCreateBundle in core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
Tests entity_bundle_create().
FieldAttachStorageTest::testEntityDeleteBundle in core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
Tests entity_bundle_delete().
FieldAttachStorageTest::testFieldAttachLoadMultiple in core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
Tests the 'multiple' load feature.
FieldCrudTest::testDeleteFieldCrossDeletion in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests the cross deletion behavior between field storages and fields.
FieldCrudTest::testDeleteFieldNoData in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests the deletion of a field with no data.
FieldFieldTest::testGetValueMethod in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
Tests \Drupal\views\Plugin\views\field\EntityField::getValue.
FieldFieldTest::testMissingBundleFieldRender in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
Tests that a field not available for every bundle is rendered as empty.
FieldImportCreateTest::testImportCreateDefault in core/modules/field/tests/src/Kernel/FieldImportCreateTest.php
Tests creating field storages and fields during default config import.
FieldImportDeleteTest::testImportDelete in core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php
Tests deleting field storages and fields as part of config import.
FileListingTest::testFileListingUsageNoLink in core/modules/file/tests/src/Functional/FileListingTest.php
Tests file listing usage page for entities with no canonical link template.