Customizations for block content entities.
Hierarchy
- class \Drupal\content_moderation\Entity\Handler\ModerationHandler implements ModerationHandlerInterface, EntityHandlerInterface uses StringTranslationTrait
- class \Drupal\content_moderation\Entity\Handler\BlockContentModerationHandler
File
- core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php, line 10
Namespace
Drupal\content_moderation\Entity\Handler
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BlockContentModerationHandler::enforceRevisionsBundleFormAlter | public | function | Alters bundle forms to enforce revision handling. Overrides ModerationHandler::enforceRevisionsBundleFormAlter |
BlockContentModerationHandler::enforceRevisionsEntityFormAlter | public | function | Alters entity forms to enforce revision handling. Overrides ModerationHandler::enforceRevisionsEntityFormAlter |
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 |
ModerationHandler::onPresave | public | function | Operates on moderated content entities preSave(). Overrides ModerationHandlerInterface::onPresave |
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.