Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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 Test 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 Test 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::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::onPresave function core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php Operates on moderated content entities preSave().
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::onPresave function core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php Operates on moderated content entities preSave().
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::getLatestRevision function core/modules/content_moderation/src/ModerationInformation.php Loads the latest revision of a specific entity.
ModerationInformation::getLatestRevisionId function core/modules/content_moderation/src/ModerationInformation.php Returns the revision ID of the latest revision of the given 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::hasPendingRevision function core/modules/content_moderation/src/ModerationInformation.php Determines if a pending revision exists for the specified entity.
ModerationInformation::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformation.php Determines if the default revision for the given entity is published.
ModerationInformation::isFirstTimeModeration function core/modules/content_moderation/src/ModerationInformation.php Determines if this entity is being moderated for the first time.
ModerationInformation::isLatestRevision function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity is a latest revision.
ModerationInformation::isLiveRevision function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity is "live".
ModerationInformation::isModeratedEntity function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity is moderated.
ModerationInformation::isModeratedEntityType function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity type has at least one moderated bundle.
ModerationInformation::shouldModerateEntitiesOfBundle function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity type/bundle entities should be moderated.
ModerationInformation::__construct function core/modules/content_moderation/src/ModerationInformation.php Creates a new ModerationInformation instance.
ModerationInformationInterface::canModerateEntitiesOfEntityType function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity type can have moderated entities.
ModerationInformationInterface::getAffectedRevisionTranslation function core/modules/content_moderation/src/ModerationInformationInterface.php Returns the revision translation affected translation of a revision.
ModerationInformationInterface::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformationInterface.php Returns the revision ID of the default revision for the specified entity.
ModerationInformationInterface::getLatestRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Loads the latest revision of a specific entity.
ModerationInformationInterface::getLatestRevisionId function core/modules/content_moderation/src/ModerationInformationInterface.php Returns the revision ID of the latest revision of the given entity.
ModerationInformationInterface::getOriginalState function core/modules/content_moderation/src/ModerationInformationInterface.php Gets the original or initial state of the given entity.
ModerationInformationInterface::getUnsupportedFeatures function core/modules/content_moderation/src/ModerationInformationInterface.php Gets unsupported features for a given entity type.
ModerationInformationInterface::hasPendingRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if a pending revision exists for the specified entity.
ModerationInformationInterface::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if the default revision for the given entity is published.
ModerationInformationInterface::isLatestRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity is a latest revision.
ModerationInformationInterface::isLiveRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity is "live".
ModerationInformationInterface::isModeratedEntity function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity is moderated.
ModerationInformationInterface::isModeratedEntityType function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity type has at least one moderated bundle.
ModerationInformationInterface::shouldModerateEntitiesOfBundle function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity type/bundle entities should be moderated.

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