function PathProcessorImageStyles::__construct
Same name in other branches
- 9 core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()
- 10 core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()
- 11.x 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\PathProcessorCode
public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager) {
$this->streamWrapperManager = $stream_wrapper_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.