public function DynamicRequestPolicy::__construct in Tome 8
Constructs the DefaultRequestPolicy object.
File
- modules/
tome_static/ src/ PageCache/ RequestPolicy/ DynamicRequestPolicy.php, line 19
Class
- DynamicRequestPolicy
- Allows CLI page requests to be cached.
Namespace
Drupal\tome_static\PageCache\RequestPolicyCode
public function __construct() {
$this
->addPolicy(new UnsafeMethod());
}