Customizations for node entities.
Hierarchy
- class \Drupal\content_moderation\Entity\Handler\ModerationHandler implements ModerationHandlerInterface, EntityHandlerInterface uses StringTranslationTrait
- class \Drupal\content_moderation\Entity\Handler\NodeModerationHandler
 
 
File
- core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php, line 11
 
Namespace
Drupal\content_moderation\Entity\Handler
Members
| Name | Modifiers | Type | Description | 
|---|---|---|---|
| ModerationHandler::createInstance | public static | function | Instantiates a new instance of this entity handler. Overrides EntityHandlerInterface::createInstance | 
| ModerationHandler::onBundleModerationConfigurationFormSubmit | public | function | Operates on the bundle definition that has been marked as moderated. Overrides ModerationHandlerInterface::onBundleModerationConfigurationFormSubmit | 
| NodeModerationHandler::enforceRevisionsBundleFormAlter | public | function | Alters bundle forms to enforce revision handling. Overrides ModerationHandler::enforceRevisionsBundleFormAlter | 
| NodeModerationHandler::enforceRevisionsEntityFormAlter | public | function | Alters entity forms to enforce revision handling. Overrides ModerationHandler::enforceRevisionsEntityFormAlter | 
| NodeModerationHandler::onPresave | public | function | Operates on moderated content entities preSave(). Overrides ModerationHandler::onPresave | 
| NodeModerationHandler::shouldModerate | protected | function | Check if an entity's default revision and/or state needs adjusting. | 
| StringTranslationTrait::$stringTranslation | protected | property | The string translation service. | 
| StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. | 
| StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. | 
| StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. | 
| StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. | 
| StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. | 
Please login to continue.