DenyNodePreview

Cache policy for node preview page.

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

Hierarchy

File

core/modules/node/src/PageCache/DenyNodePreview.php, line 16

Namespace

Drupal\node\PageCache

Members

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

Please login to continue.