9 calls to ContentModerationTestTrait::addEntityTypeAndBundleToWorkflow() in Drupal 8
- ContentModerationStateTest::testChangingContentLangcode in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Test changing the language of content without adding a translation.
- ContentModerationStateTest::testExistingContentModerationStateDataRemoval in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests removal of content moderation state entities for preexisting content.
- ContentModerationStateTest::testModerationWithFieldConfigOverride in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests moderation when the moderation_state field has a config override.
- ContentModerationStateTest::testModerationWithSpecialLanguages in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests that entities with special languages can be moderated.
- ContentModerationStateTest::testMultilingualModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests basic multilingual content moderation through the API.
- ContentModerationStateTest::testNonLangcodeEntityTypeModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests that a non-translatable entity type without a langcode can be moderated.
- ContentModerationStateTest::testNonTranslatableEntityTypeModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests that a non-translatable entity type with a langcode can be moderated.
- ContentModerationStateTest::testWorkflowDependencies in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests the dependencies of the workflow when using content moderation.
- WorkspacesContentModerationStateTest::addEntityTypeAndBundleToWorkflow in core/
modules/ content_moderation/ tests/ src/ Kernel/ WorkspacesContentModerationStateTest.php - Adds an entity type ID / bundle ID to the given workflow.