diff --git a/core/lib/Drupal/Core/Form/FormCache.php b/core/lib/Drupal/Core/Form/FormCache.php index feb66d4..5c77c30 100644 --- a/core/lib/Drupal/Core/Form/FormCache.php +++ b/core/lib/Drupal/Core/Form/FormCache.php @@ -218,7 +218,7 @@ public function setCache($form_build_id, $form, FormStateInterface $form_state) * Checks if the page is cacheable. */ protected function isPageCacheable($allow_caching = NULL) { - return ($this->request_policy->check($this->request) === RequestPolicyInterface::ALLOW); + return ($this->requestPolicy->check($this->request) === RequestPolicyInterface::ALLOW); } }