You are here

public function RemoteImageStyleRoutes::__construct in Remote Stream Wrapper 8

Constructs a new PathProcessorImageStyles object.

Parameters

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

src/Routing/RemoteImageStyleRoutes.php, line 38

Class

RemoteImageStyleRoutes
Defines a route subscriber to register a url for serving image styles.

Namespace

Drupal\remote_stream_wrapper\Routing

Code

public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager, ModuleHandlerInterface $module_handler) {
  $this->streamWrapperManager = $stream_wrapper_manager;
  $this->moduleHandler = $module_handler;
}