public static function EntityModerationRouteProvider::createInstance in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::createInstance()
- 9 core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::createInstance()
File
- core/
modules/ content_moderation/ src/ Entity/ Routing/ EntityModerationRouteProvider.php, line 45
Class
- EntityModerationRouteProvider
- Dynamic route provider for the Content moderation module.
Namespace
Drupal\content_moderation\Entity\RoutingCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static($container
->get('entity_field.manager'));
}