You are here

public function PathProcessorImageStyles::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 44
Contains \Drupal\image\PathProcessor\PathProcessorImageStyles.

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;
}