Loading src/Form/EuCookieComplianceConfigForm.php +2 −7 Changes for src/Form/EuCookieComplianceConfigForm.php: 2 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -113,13 +113,8 @@ class EuCookieComplianceConfigForm extends ConfigFormBase { $this->filterFormatStorage = $entity_type_manager; $this->consentStorage = $consent_storage; $this->cacheBootstrap = $cache_bootstrap; if ($cache_page->get('bin') === 'cache_page') { $this->cachePage = $cache_page; } else { $this->cachePage = NULL; } } /** * {@inheritdoc} Loading @@ -137,7 +132,7 @@ class EuCookieComplianceConfigForm extends ConfigFormBase { $container->get('cache.bootstrap'), // Use a cache that's available to the user if the page cache isn't // available. $module_handler->moduleExists('cache.page') ? $container->get('cache.page') : $container->get('cache.render') $module_handler->moduleExists('page_cache') ? $container->get('cache.page') : $container->get('cache.render') ); } Loading Loading @@ -1287,7 +1282,7 @@ class EuCookieComplianceConfigForm extends ConfigFormBase { * @param \Drupal\Core\Form\FormStateInterface $form_state * Form state. */ public function validatePopupLink(array $element, FormStateInterface &$form_state) { public function validatePopupLink(array $element, FormStateInterface $form_state) { if (empty($element['#value'])) { return; } Loading Loading
src/Form/EuCookieComplianceConfigForm.php +2 −7 Changes for src/Form/EuCookieComplianceConfigForm.php: 2 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -113,13 +113,8 @@ class EuCookieComplianceConfigForm extends ConfigFormBase { $this->filterFormatStorage = $entity_type_manager; $this->consentStorage = $consent_storage; $this->cacheBootstrap = $cache_bootstrap; if ($cache_page->get('bin') === 'cache_page') { $this->cachePage = $cache_page; } else { $this->cachePage = NULL; } } /** * {@inheritdoc} Loading @@ -137,7 +132,7 @@ class EuCookieComplianceConfigForm extends ConfigFormBase { $container->get('cache.bootstrap'), // Use a cache that's available to the user if the page cache isn't // available. $module_handler->moduleExists('cache.page') ? $container->get('cache.page') : $container->get('cache.render') $module_handler->moduleExists('page_cache') ? $container->get('cache.page') : $container->get('cache.render') ); } Loading Loading @@ -1287,7 +1282,7 @@ class EuCookieComplianceConfigForm extends ConfigFormBase { * @param \Drupal\Core\Form\FormStateInterface $form_state * Form state. */ public function validatePopupLink(array $element, FormStateInterface &$form_state) { public function validatePopupLink(array $element, FormStateInterface $form_state) { if (empty($element['#value'])) { return; } Loading