AllowToolbarPath

Cache policy for the toolbar page cache service.

This policy allows caching of requests directed to /toolbar/subtrees/{hash} even for authenticated users.

Hierarchy

File

core/modules/toolbar/src/PageCache/AllowToolbarPath.php, line 14

Namespace

Drupal\toolbar\PageCache

Members

Name Modifiers Type Description
AllowToolbarPath::check public function Determines whether delivery of a cached page should be attempted. Overrides RequestPolicyInterface::check
RequestPolicyInterface::ALLOW constant Allow delivery of cached pages.
RequestPolicyInterface::DENY constant Deny delivery of cached pages.
doc_Drupal
2016-10-29 08:44:22
Comments
Leave a Comment

Please login to continue.