public static function ModerationHandler::createInstance in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 src/Entity/Handler/ModerationHandler.php \Drupal\workbench_moderation\Entity\Handler\ModerationHandler::createInstance()
@inheritDoc
Overrides EntityHandlerInterface::createInstance
File
- src/
Entity/ Handler/ ModerationHandler.php, line 30 - Contains Drupal\workbench_moderation\Entity\Handler\GenericCustomizations.
Class
- ModerationHandler
- Common customizations for most/all entities.
Namespace
Drupal\workbench_moderation\Entity\HandlerCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static();
}