DenyPrivateImageStyleDownload::__construct

public DenyPrivateImageStyleDownload::__construct(RouteMatchInterface $route_match)

Constructs a deny image preview page cache policy.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

File

core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php, line 31

Class

DenyPrivateImageStyleDownload
Cache policy for image preview page.

Namespace

Drupal\image\PageCache

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}
doc_Drupal
2016-10-29 09:02:14
Comments
Leave a Comment

Please login to continue.