ModerationHandler

Common customizations for most/all entities.

This class is intended primarily as a base class.

Hierarchy

File

core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php, line 18

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::enforceRevisionsBundleFormAlter public function Alters bundle forms to enforce revision handling. Overrides ModerationHandlerInterface::enforceRevisionsBundleFormAlter
ModerationHandler::enforceRevisionsEntityFormAlter public function Alters entity forms to enforce revision handling. Overrides ModerationHandlerInterface::enforceRevisionsEntityFormAlter
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.
doc_Drupal
2016-10-29 09:28:30
Comments
Leave a Comment

Please login to continue.