Cache policy for the toolbar page cache service.
This policy allows caching of requests directed to /toolbar/subtrees/{hash} even for authenticated users.
Hierarchy
- class \Drupal\toolbar\PageCache\AllowToolbarPath implements RequestPolicyInterface
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. |
Please login to continue.