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 11.x for content
  5. Other projects
Title Object type File name Summary
ContentModerationStateStorageSchemaTest::assertStorageException function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Assert if a storage exception is triggered when saving a given entity.
ContentModerationStateStorageSchemaTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
ContentModerationStateStorageSchemaTest::testUniqueKeys function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Tests the ContentModerationState unique keys.
ContentModerationStateTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests links between a content entity and a content_moderation_state entity.
ContentModerationStateTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
ContentModerationStateTest::$entityDefinitionUpdateManager property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The entity definition update manager.
ContentModerationStateTest::$entityTypeManager property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
ContentModerationStateTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Modules to install.
ContentModerationStateTest::$revEntityTypeId property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The ID of the revisionable entity type used in the tests.
ContentModerationStateTest::$state property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The state object.
ContentModerationStateTest::assertDefaultRevision function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Checks the default revision ID and publishing status for an entity.
ContentModerationStateTest::basicModerationTestCases function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Test cases for basic moderation test.
ContentModerationStateTest::createEntity function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Creates an entity.
ContentModerationStateTest::doTestBasicModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests basic monolingual content moderation through the API.
ContentModerationStateTest::doTestContentModerationStateDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity.
ContentModerationStateTest::doTestContentModerationStatePendingRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state pending entity revisions.
ContentModerationStateTest::doTestContentModerationStateRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity revisions.
ContentModerationStateTest::doTestContentModerationStateTranslationDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state translations.
ContentModerationStateTest::doTestRevisionDefaultState function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the revision default state of the moderation state entity revisions.
ContentModerationStateTest::moderationWithSpecialLanguagesTestCases function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Test cases for ::testModerationWithSpecialLanguages().
ContentModerationStateTest::reloadEntity function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Reloads the entity after clearing the static cache.
ContentModerationStateTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
ContentModerationStateTest::testBasicModeration function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests basic monolingual content moderation through the API.
ContentModerationStateTest::testChangingContentLangcode function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests changing the language of content without adding a translation.
ContentModerationStateTest::testContentModerationStateDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity.
ContentModerationStateTest::testContentModerationStatePendingRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state pending entity revisions.
ContentModerationStateTest::testContentModerationStateRevisionDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entity revisions.
ContentModerationStateTest::testContentModerationStateTranslationDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state translations.
ContentModerationStateTest::testExistingContentModerationStateDataRemoval function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests removal of content moderation state entities for preexisting content.
ContentModerationStateTest::testModerationWithFieldConfigOverride function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests moderation when the moderation_state field has a config override.
ContentModerationStateTest::testModerationWithSpecialLanguages function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests that entities with special languages can be moderated.
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.

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