public static function ImageStyleRoutes::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Routing/ImageStyleRoutes.php \Drupal\image\Routing\ImageStyleRoutes::create()
- 9 core/modules/image/src/Routing/ImageStyleRoutes.php \Drupal\image\Routing\ImageStyleRoutes::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'));
}