function PathProcessorImageStyles::__construct

Same name and namespace in other branches
  1. 11.x core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()
  2. 10 core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()
  3. 9 core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()
  4. 8.9.x core/modules/image/src/PathProcessor/PathProcessorImageStyles.php \Drupal\image\PathProcessor\PathProcessorImageStyles::__construct()

Constructs a new PathProcessorImageStyles object.

Parameters

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

File

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

Class

PathProcessorImageStyles
Defines a path processor to rewrite image styles URLs.

Namespace

Drupal\image\PathProcessor

Code

public function __construct(protected StreamWrapperManagerInterface $streamWrapperManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.