function DenyPrivateImageStyleDownload::__construct
Same name in other branches
- 8.9.x core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php \Drupal\image\PageCache\DenyPrivateImageStyleDownload::__construct()
- 10 core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php \Drupal\image\PageCache\DenyPrivateImageStyleDownload::__construct()
- 11.x core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php \Drupal\image\PageCache\DenyPrivateImageStyleDownload::__construct()
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\PageCacheCode
public function __construct(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.