public function BackgroundImageRoutes::__construct in Background Image 8
Same name and namespace in other branches
- 2.x src/Routing/BackgroundImageRoutes.php \Drupal\background_image\Routing\BackgroundImageRoutes::__construct()
- 2.0.x src/Routing/BackgroundImageRoutes.php \Drupal\background_image\Routing\BackgroundImageRoutes::__construct()
Constructs a new BackgroundImageRoutes object.
Parameters
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager service.
File
- src/
Routing/ BackgroundImageRoutes.php, line 28
Class
- BackgroundImageRoutes
- Defines a route subscriber to register a url for serving background image CSS.
Namespace
Drupal\background_image\RoutingCode
public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager) {
$this->streamWrapperManager = $stream_wrapper_manager;
}