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
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
ModerationInformation::getAffectedRevisionTranslation function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::getOriginalState function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::getUnsupportedFeatures function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::getWorkflowForEntity function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::getWorkflowForEntityTypeAndBundle function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::hasPendingRevision function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::isDefaultRevisionPublished function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::isFirstTimeModeration function core/modules/content_moderation/src/ModerationInformation.php Determines if this entity is being moderated for the first time.
ModerationInformation::isLiveRevision function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::isModeratedEntity function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::isModeratedEntityType function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::shouldModerateEntitiesOfBundle function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformation::__construct function core/modules/content_moderation/src/ModerationInformation.php Creates a new ModerationInformation instance.
ModerationInformationInterface interface core/modules/content_moderation/src/ModerationInformationInterface.php Interface for moderation_information service.
ModerationInformationInterface.php file core/modules/content_moderation/src/ModerationInformationInterface.php
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::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::getWorkflowForEntity function core/modules/content_moderation/src/ModerationInformationInterface.php Gets the workflow for the given content entity.
ModerationInformationInterface::getWorkflowForEntityTypeAndBundle function core/modules/content_moderation/src/ModerationInformationInterface.php Gets the workflow for the given entity type and bundle.
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::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.