Search for mode

  1. Search 7.x for mode
  2. Search 9.5.x for mode
  3. Search 8.9.x for mode
  4. Search 11.x for mode
  5. Other projects
Title Object type File name Summary
ModerationInformationTest class core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @coversDefaultClass \Drupal\content_moderation\ModerationInformation
@group content_moderation
ModerationInformationTest class core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @coversDefaultClass \Drupal\content_moderation\ModerationInformation
@group content_moderation
ModerationInformationTest.php file core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php
ModerationInformationTest.php file core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
ModerationInformationTest::$moderationInformation property core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php The moderation information service.
ModerationInformationTest::$modules property core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Modules to install.
ModerationInformationTest::getEntityTypeManager function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Returns a mock Entity Type Manager.
ModerationInformationTest::getUser function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Builds a mock user.
ModerationInformationTest::isDefaultRevisionPublishedTestCases function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Test cases for ::testIsDefaultRevisionPublished.
ModerationInformationTest::providerWorkflow function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Data provider for several tests.
ModerationInformationTest::setUp function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
ModerationInformationTest::setupModerationBundleInfo function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Sets up content moderation and entity type bundle info mocking.
ModerationInformationTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getDefaultRevisionId
ModerationInformationTest::testGetOriginalState function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getOriginalState
ModerationInformationTest::testGetOriginalStateMultilingual function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getOriginalState
ModerationInformationTest::testGetWorkflowForEntity function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @dataProvider providerWorkflow
@covers ::getWorkflowForEntity
ModerationInformationTest::testHasPendingRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::hasPendingRevision
ModerationInformationTest::testIsDefaultRevisionPublished function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
@dataProvider isDefaultRevisionPublishedTestCases
ModerationInformationTest::testIsDefaultRevisionPublishedMultilingual function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isDefaultRevisionPublished
ModerationInformationTest::testIsModeratedEntity function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @dataProvider providerWorkflow
@covers ::isModeratedEntity
ModerationInformationTest::testIsModeratedEntityType function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @covers ::isModeratedEntityType
ModerationInformationTest::testShouldModerateEntities function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @dataProvider providerWorkflow
@covers ::shouldModerateEntitiesOfBundle
ModerationLocaleTest class core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Test content_moderation functionality with localization and translation.
ModerationLocaleTest.php file core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
ModerationLocaleTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php The theme to install as the default for testing.
ModerationLocaleTest::$modules property core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Modules to install.
ModerationLocaleTest::$usesSuperUserAccessPolicy property core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php @todo Remove and fix test to not rely on super user.
ModerationLocaleTest::assertLatestVersionPage function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Asserts that this is the "latest version" page for the specified node.
ModerationLocaleTest::assertModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Asserts that the moderation form is displayed for the specified node.
ModerationLocaleTest::assertNoModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Asserts that the moderation form is not displayed for the specified node.
ModerationLocaleTest::assertNotLatestVersionPage function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Asserts that this is not the "latest version" page for the specified node.
ModerationLocaleTest::hasModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Checks whether the page contains the moderation form.
ModerationLocaleTest::loadTranslation function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Loads the node translation for the specified language.
ModerationLocaleTest::setUp function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Sets the test up.
ModerationLocaleTest::submitNodeForm function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Submits the node form at the current URL with the specified values.
ModerationLocaleTest::testLanguageIndependentContentModeration function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Tests that individual translations can be moderated independently.
ModerationLocaleTest::testNewTranslationSourceValues function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Checks that new translation values are populated properly.
ModerationLocaleTest::testTranslateModeratedContent function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Tests article translations can be moderated separately.
ModerationLocaleTest::testTranslationRevisionsHistory function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Tests article revision history shows revisions for the correct translation.
ModerationOptOutPublish class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutPublish.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php
ModerationOptOutPublish::$bundleInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Bundle info service.
ModerationOptOutPublish::$messenger property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Messenger service.
ModerationOptOutPublish::$moderationInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Moderation information service.
ModerationOptOutPublish::access function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Checks object access.
ModerationOptOutPublish::create function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Creates an instance of the plugin.
ModerationOptOutPublish::__construct function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php ModerationOptOutPublish constructor.
ModerationOptOutUnpublish class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutUnpublish.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php
ModerationOptOutUnpublish::$bundleInfo property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Bundle info service.

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