You are here

public function TextimagePathProcessor::__construct in Textimage 8.3

Same name and namespace in other branches
  1. 8.4 src/PathProcessor/TextimagePathProcessor.php \Drupal\textimage\PathProcessor\TextimagePathProcessor::__construct()

Constructs a new TextimagePathProcessor object.

Parameters

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

File

src/PathProcessor/TextimagePathProcessor.php, line 31

Class

TextimagePathProcessor
Defines a path processor to rewrite Textimage URLs.

Namespace

Drupal\textimage\PathProcessor

Code

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