Search for mode

  1. Search 7.x for mode
  2. Search 8.9.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
ModerationActionsTest class core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php Test the content moderation actions.
ModerationActionsTest.php file core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
ModerationActionsTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php The theme to install as the default for testing.
ModerationActionsTest::$modules property core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php Modules to enable.
ModerationActionsTest::nodeStatusActionsTestCases function core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php Test cases for ::testNodeStatusActions.
ModerationActionsTest::setUp function core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
ModerationActionsTest::testNodeStatusActions function core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php Tests the node status actions report moderation status to users correctly.
ModerationContentTranslationTest class core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php Test content_moderation functionality with content_translation.
ModerationContentTranslationTest.php file core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php
ModerationContentTranslationTest::$adminUser property core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php A user with permission to bypass access content.
ModerationContentTranslationTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php The theme to install as the default for testing.
ModerationContentTranslationTest::$modules property core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php Modules to enable.
ModerationContentTranslationTest::setUp function core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php
ModerationContentTranslationTest::testModerationWithExistingContent function core/modules/content_moderation/tests/src/Functional/ModerationContentTranslationTest.php Tests existing translations being edited after enabling content moderation.
ModerationFormTest class core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests the moderation form, specifically on nodes.
ModerationFormTest.php file core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
ModerationFormTest::$defaultTheme property core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php The theme to install as the default for testing.
ModerationFormTest::$modules property core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Modules to enable.
ModerationFormTest::setUp function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Sets the test up.
ModerationFormTest::testAlternativeModerationStateWidget function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests the moderation_state field when an alternative widget is set.
ModerationFormTest::testContentTranslationNodeForm function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests translated and moderated nodes.
ModerationFormTest::testModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests the moderation form that shows on the latest version page.
ModerationFormTest::testModerationFormSetsRevisionAuthor function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests the revision author is updated when the moderation form is used.
ModerationFormTest::testNonBundleModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests moderation non-bundle entity type.
ModerationFormTest::testWorkflowInUse function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php Tests that workflows and states can not be deleted if they are in use.
ModerationHandler class core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Common customizations for most/all entities.
ModerationHandler.php file core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php
ModerationHandler::createInstance function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Instantiates a new instance of this entity handler.
ModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Alters bundle forms to enforce revision handling.
ModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Alters entity forms to enforce revision handling.
ModerationHandler::isModeratedEntity function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Determines if an entity should be moderated.
ModerationHandler::onPresave function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Operates on moderated content entities preSave().
ModerationHandlerInterface interface core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Defines operations that need to vary by entity type.
ModerationHandlerInterface.php file core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php
ModerationHandlerInterface::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Alters bundle forms to enforce revision handling.
ModerationHandlerInterface::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Alters entity forms to enforce revision handling.
ModerationHandlerInterface::isModeratedEntity function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Determines if an entity should be moderated.
ModerationHandlerInterface::onPresave function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Operates on moderated content entities preSave().
ModerationInformation class core/modules/content_moderation/src/ModerationInformation.php General service for moderation-related questions about Entity API.
ModerationInformation.php file core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::$bundleInfo property core/modules/content_moderation/src/ModerationInformation.php The bundle information service.
ModerationInformation::$entityTypeManager property core/modules/content_moderation/src/ModerationInformation.php The entity type manager.
ModerationInformation::canModerateEntitiesOfEntityType function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity type can have moderated entities.
ModerationInformation::getAffectedRevisionTranslation function core/modules/content_moderation/src/ModerationInformation.php Returns the revision translation affected translation of a revision.
ModerationInformation::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformation.php Returns the revision ID of the default revision for the specified entity.
ModerationInformation::getOriginalState function core/modules/content_moderation/src/ModerationInformation.php Gets the original or initial state of the given entity.
ModerationInformation::getUnsupportedFeatures function core/modules/content_moderation/src/ModerationInformation.php Gets unsupported features for a given entity type.
ModerationInformation::getWorkflowForEntity function core/modules/content_moderation/src/ModerationInformation.php Gets the workflow for the given content entity.
ModerationInformation::getWorkflowForEntityTypeAndBundle function core/modules/content_moderation/src/ModerationInformation.php Gets the workflow for the given entity type and bundle.
ModerationInformation::hasPendingRevision function core/modules/content_moderation/src/ModerationInformation.php Determines if a pending revision exists for the specified entity.

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