function ModerationHandler::createInstance
Same name in other branches
- 9 core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::createInstance()
- 8.9.x core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::createInstance()
- 10 core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::createInstance()
Overrides EntityHandlerInterface::createInstance
1 method overrides ModerationHandler::createInstance()
- NodeModerationHandler::createInstance in core/
modules/ content_moderation/ src/ Entity/ Handler/ NodeModerationHandler.php
File
-
core/
modules/ content_moderation/ src/ Entity/ Handler/ ModerationHandler.php, line 27
Class
- ModerationHandler
- Common customizations for most/all entities.
Namespace
Drupal\content_moderation\Entity\HandlerCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.