function ImageStyleRoutes::create
Same name in other branches
- 9 core/modules/image/src/Routing/ImageStyleRoutes.php \Drupal\image\Routing\ImageStyleRoutes::create()
- 8.9.x core/modules/image/src/Routing/ImageStyleRoutes.php \Drupal\image\Routing\ImageStyleRoutes::create()
- 11.x core/modules/image/src/Routing/ImageStyleRoutes.php \Drupal\image\Routing\ImageStyleRoutes::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ image/ src/ Routing/ ImageStyleRoutes.php, line 35
Class
- ImageStyleRoutes
- Defines a route subscriber to register a URL for serving image styles.
Namespace
Drupal\image\RoutingCode
public static function create(ContainerInterface $container) {
return new static($container->get('stream_wrapper_manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.