You are here

public function PathProcessorImageStyles::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()

Constructs a new PathProcessorImageStyles object.

Parameters

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

File

core/modules/image/src/PathProcessor/PathProcessorImageStyles.php, line 39

Class

PathProcessorImageStyles
Defines a path processor to rewrite image styles URLs.

Namespace

Drupal\image\PathProcessor

Code

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