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
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 enable.
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 manager mocking.
ModerationInformationTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getDefaultRevisionId
ModerationInformationTest::testGetLatestRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getLatestRevision
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableStorageInterface::getLatestRevisionId()…
ModerationInformationTest::testGetLatestRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::getLatestRevisionId
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::getLatestRevisionId is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use…
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::testIsLatestRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::isLatestRevision
@group legacy
@expectedDeprecation Drupal\content_moderation\ModerationInformation::isLatestRevision is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableInterface::isLatestRevision() instead. See…
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 enable.
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.
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.
ModerationOptOutPublishNode class core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.php Alternate action plugin that can opt-out of modifying moderated entities.
ModerationOptOutPublishNode.php file core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.php
ModerationOptOutPublishNode::__construct function core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.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.