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