54 calls to ContentModerationTestTrait::createEditorialWorkflow()
- BookContentModerationTest::setUp in core/
modules/ book/ tests/ src/ Functional/ BookContentModerationTest.php - ContentModerationAccessTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationAccessTest.php - ContentModerationResaveTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationResaveTest.php - ContentModerationStateStorageSchemaTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateStorageSchemaTest.php - ContentModerationStateTest::createEntity in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Creates an entity.
- ContentModerationStateTest::testChangingContentLangcode in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests 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 moderation of a non-translatable entity type with no langcode.
- 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.
- ContentModerationStateTest::testWorkflowNonConfigBundleDependencies in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Tests the content moderation workflow dependencies for non-config bundles.
- ContentModerationSyncingTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationSyncingTest.php - ContentModerationTest::setUp in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ ContentModerationTest.php - ContentModerationWorkflowConfigTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationWorkflowConfigTest.php - ContentTranslationPendingRevisionTestBase::setupBundle in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationPendingRevisionTestBase.php - Creates or initializes the bundle date if needed.
- DefaultRevisionStateTest::testMultilingual in core/
modules/ content_moderation/ tests/ src/ Kernel/ DefaultRevisionStateTest.php - Tests a translatable Node.
- EntityOperationsTest::createNodeType in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityOperationsTest.php - Creates a page node type to test with, ensuring that it's moderated.
- EntityStateChangeValidationTest::testExistingContentWithNoModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests that content without prior moderation information can be moderated.
- EntityStateChangeValidationTest::testExistingMultilingualContentWithNoModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests that content without prior moderation information can be translated.
- EntityStateChangeValidationTest::testInvalidState in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests validation with an invalid state.
- EntityStateChangeValidationTest::testInvalidStateMultilingual in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests state transition validation with multiple languages.
- EntityStateChangeValidationTest::testInvalidStateWithoutExisting in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests validation with no initial state or an invalid state.
- EntityStateChangeValidationTest::testInvalidTransition in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests invalid transitions.
- EntityStateChangeValidationTest::testTransitionAccessValidation in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - @dataProvider transitionAccessValidationTestCases
- EntityStateChangeValidationTest::testValidTransition in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityStateChangeValidationTest.php - Tests valid transitions.
- EntityTypeInfoTest::enableModeration in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityTypeInfoTest.php - Add moderation to an entity type and bundle.
- InitialStateTest::testInitialState in core/
modules/ content_moderation/ tests/ src/ Kernel/ InitialStateTest.php - Tests the correct initial state.
- LayoutBuilderContentModerationIntegrationTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ LayoutBuilderContentModerationIntegrationTest.php - MenuUiContentModerationTest::setUp in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiContentModerationTest.php - MigrateDrupal6AuditIdsTest::setUp in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d6/ MigrateDrupal6AuditIdsTest.php - MigrateDrupal7AuditIdsTest::setUp in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ MigrateDrupal7AuditIdsTest.php - ModeratedContentViewTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModeratedContentViewTest.php - ModeratedNodeResourceTestBase::createEntity in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ ModeratedNode/ ModeratedNodeResourceTestBase.php - Creates the entity to be tested.
- ModerationActionsTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationActionsTest.php - ModerationContentTranslationTest::testModerationWithExistingContent in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationContentTranslationTest.php - Tests existing translations being edited after enabling content moderation.
- ModerationInformationTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ModerationInformationTest.php - ModerationRevisionRevertTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationRevisionRevertTest.php - ModerationStateAccessTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateAccessTest.php - ModerationStateFieldItemListTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ModerationStateFieldItemListTest.php - ModerationStateTestBase::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateTestBase.php - Sets the test up.
- ModerationStateWidgetTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ModerationStateWidgetTest.php - NodeAccessTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ NodeAccessTest.php - PathContentModerationTest::setUp in core/
modules/ path/ tests/ src/ Functional/ PathContentModerationTest.php - ResourceTestBase::testPatchIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests PATCHing an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testRevisions in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests individual and collection revisions.
- StateFormatterTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ StateFormatterTest.php - ViewsDataIntegrationTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsDataIntegrationTest.php - ViewsModerationStateFilterTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ViewsModerationStateFilterTest.php - Sets up the test.
- ViewsModerationStateFilterTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsModerationStateFilterTest.php - ViewsModerationStateSortTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsModerationStateSortTest.php - WorkspacesContentModerationStateTest::createEditorialWorkflow in core/
modules/ content_moderation/ tests/ src/ Kernel/ WorkspacesContentModerationStateTest.php - Creates the editorial workflow.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.