DenyPrivateImageStyleDownload

Cache policy for image preview page.

This policy rule denies caching of responses generated by the entity.image.preview route.

Hierarchy

File

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

Namespace

Drupal\image\PageCache

Members

Name Modifiers Type Description
DenyPrivateImageStyleDownload::$routeMatch protected property The current route match.
DenyPrivateImageStyleDownload::check public function Determines whether it is save to store a page in the cache. Overrides ResponsePolicyInterface::check
DenyPrivateImageStyleDownload::__construct public function Constructs a deny image preview page cache policy.
ResponsePolicyInterface::DENY constant Deny storage of a page in the cache.
doc_Drupal
2016-10-29 09:02:13
Comments
Leave a Comment

Please login to continue.