You are here

public function S3fsImageStyleRoutes::__construct in S3 File System 8.3

Same name and namespace in other branches
  1. 4.0.x src/Routing/S3fsImageStyleRoutes.php \Drupal\s3fs\Routing\S3fsImageStyleRoutes::__construct()

Constructs a new S3fsImageStyleRoutes object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

src/Routing/S3fsImageStyleRoutes.php, line 28

Class

S3fsImageStyleRoutes
Defines a route subscriber to register a url for serving image styles.

Namespace

Drupal\s3fs\Routing

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}