function EntityModerationRouteProvider::createInstance
Same name in other branches
- 9 core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::createInstance()
- 8.9.x core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::createInstance()
- 10 core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php \Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider::createInstance()
Overrides EntityHandlerInterface::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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.