Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 10.3.x for content
  5. Other projects
Title Object type File name Summary
ContentModerationStateTest::testMultilingualModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests basic multilingual content moderation through the API.
ContentModerationStateTest::testNonLangcodeEntityTypeModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests moderation of a non-translatable entity type with no langcode.
ContentModerationStateTest::testNonTranslatableEntityTypeModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests that a non-translatable entity type with a langcode can be moderated.
ContentModerationStateTest::testRevisionDefaultState function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the revision default state of the moderation state entity revisions.
ContentModerationStateTest::testWorkflowDependencies function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the dependencies of the workflow when using content moderation.
ContentModerationStateTest::testWorkflowNonConfigBundleDependencies function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the content moderation workflow dependencies for non-config bundles.
ContentModerationSyncingTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Test content moderation when an entity is marked as 'syncing'.
ContentModerationSyncingTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php
ContentModerationSyncingTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Modules to install.
ContentModerationSyncingTest::getAllRevisionNames function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Get all the revision names in order of the revision ID.
ContentModerationSyncingTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php
ContentModerationSyncingTest::testMultipleRevisionStateChangedDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Tests state changes with multiple revisions during a sync.
ContentModerationSyncingTest::testNoRevisionForcedDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Tests no new revision is forced during a sync.
ContentModerationSyncingTest::testSingleRevisionStateChangedDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Tests changing the moderation state during a sync.
ContentModerationSyncingTest::testStateChangedPreviousRevisionDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Tests a moderation state changed on a previous revision during a sync.
ContentModerationSyncingTest::testUpdatingPreviousRevisionDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Tests modifying a previous revision during a sync.
ContentModerationTest class core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Tests media library integration with content moderation.
ContentModerationTest.php file core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php
ContentModerationTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php The theme to install as the default for testing.
ContentModerationTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Modules to install.
ContentModerationTest::$userAdmin property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php User with the 'administer media' permission.
ContentModerationTest::$userViewAnyUnpublished property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php User with the 'view media' and 'view any unpublished content' permissions.
ContentModerationTest::$userViewer property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php User with the 'view media' permission.
ContentModerationTest::$userViewOwnUnpublished property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php User with the 'view media' and 'view own unpublished media' permissions.
ContentModerationTest::$usesSuperUserAccessPolicy property core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php @todo Remove and fix test to not rely on super user.
ContentModerationTest::assertAllMedia function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Asserts all media items are visible.
ContentModerationTest::assertOnlyPublishedMedia function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Asserts only published media items are visible.
ContentModerationTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php
ContentModerationTest::testAdministrationPage function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Tests the media library widget only shows published media.
ContentModerationTest::testWidget function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Tests the media library widget only shows published media.
ContentModerationTestResaveHooks class core/modules/content_moderation/tests/modules/content_moderation_test_resave/src/Hook/ContentModerationTestResaveHooks.php Hook implementations for content_moderation_test_resave.
ContentModerationTestResaveHooks.php file core/modules/content_moderation/tests/modules/content_moderation_test_resave/src/Hook/ContentModerationTestResaveHooks.php
ContentModerationTestResaveHooks::entityInsert function core/modules/content_moderation/tests/modules/content_moderation_test_resave/src/Hook/ContentModerationTestResaveHooks.php Implements hook_entity_insert().
ContentModerationTestTrait trait core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Provides functionality for testing content moderation.
ContentModerationTestTrait.php file core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php
ContentModerationTestTrait::addEntityTypeAndBundleToWorkflow function core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Adds an entity type ID / bundle ID to the given workflow.
ContentModerationTestTrait::createEditorialWorkflow function core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php Creates the editorial workflow.
ContentModerationTestViewsHooks class core/modules/content_moderation/tests/modules/content_moderation_test_views/src/Hook/ContentModerationTestViewsHooks.php Hook implementations for content_moderation_test_views.
ContentModerationTestViewsHooks.php file core/modules/content_moderation/tests/modules/content_moderation_test_views/src/Hook/ContentModerationTestViewsHooks.php
ContentModerationTestViewsHooks::viewsDataAlter function core/modules/content_moderation/tests/modules/content_moderation_test_views/src/Hook/ContentModerationTestViewsHooks.php Implements hook_views_data_alter().
ContentModerationTestViewsHooks::viewsQueryAlter function core/modules/content_moderation/tests/modules/content_moderation_test_views/src/Hook/ContentModerationTestViewsHooks.php Implements hook_views_query_alter().
ContentModerationViewsExecutionHooks class core/modules/content_moderation/src/Hook/ContentModerationViewsExecutionHooks.php Hook implementations for content_moderation.
ContentModerationViewsExecutionHooks.php file core/modules/content_moderation/src/Hook/ContentModerationViewsExecutionHooks.php
ContentModerationViewsExecutionHooks::viewsQuerySubstitutions function core/modules/content_moderation/src/Hook/ContentModerationViewsExecutionHooks.php Implements hook_views_query_substitutions().
ContentModerationViewsHooks class core/modules/content_moderation/src/Hook/ContentModerationViewsHooks.php Hook implementations for content_moderation.
ContentModerationViewsHooks.php file core/modules/content_moderation/src/Hook/ContentModerationViewsHooks.php
ContentModerationViewsHooks::viewsData function core/modules/content_moderation/src/Hook/ContentModerationViewsHooks.php Implements hook_views_data().
ContentModerationWorkflowConfigTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php Tests how Content Moderation handles workflow config changes.
ContentModerationWorkflowConfigTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContentModerationWorkflowConfigTest::$configFactory property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.