Search for mode

  1. Search 7.x for mode
  2. Search 9.5.x for mode
  3. Search 10.3.x for mode
  4. Search 11.x for mode
  5. Other projects
Title Object type File name Summary
ContentModerationStateInterface interface core/modules/content_moderation/src/Entity/ContentModerationStateInterface.php An interface for Content moderation state entity.
ContentModerationStateInterface.php file core/modules/content_moderation/src/Entity/ContentModerationStateInterface.php
ContentModerationStateResourceTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php @group content_moderation
ContentModerationStateResourceTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php
ContentModerationStateResourceTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php Modules to enable.
ContentModerationStateResourceTest::testCreateContentModerationStateResource function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php
ContentModerationStateStorageSchema class core/modules/content_moderation/src/ContentModerationStateStorageSchema.php Defines the content moderation state schema handler.
ContentModerationStateStorageSchema.php file core/modules/content_moderation/src/ContentModerationStateStorageSchema.php
ContentModerationStateStorageSchema::getEntitySchema function core/modules/content_moderation/src/ContentModerationStateStorageSchema.php Gets the entity schema for the specified entity type.
ContentModerationStateStorageSchemaTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Test the ContentModerationState storage schema.
ContentModerationStateStorageSchemaTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
ContentModerationStateStorageSchemaTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Modules to enable.
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 Test 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::$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 enable.
ContentModerationStateTest::$revEntityTypeId property core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php The ID of the revisionable entity type used in the tests.
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::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 Test 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::testGetCurrentUserId function core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests the legacy method used as the default entity owner.
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 that a non-translatable entity type without a langcode can be
moderated.
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 Test 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 Test 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 enable.
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 Test state changes with multiple revisions during a sync.
ContentModerationSyncingTest::testNoRevisionForcedDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Test no new revision is forced during a sync.
ContentModerationSyncingTest::testSingleRevisionStateChangedDuringSync function core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Test changing the moderation state during a sync.

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