Commit 0c6f2ddc authored by Gurjinder Singh Pabla's avatar Gurjinder Singh Pabla
Browse files

Issue #3286775 drupal 10 Compatiblity fix.

parent f7b7395b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,5 +44,5 @@ MAINTAINERS

Current maintainers:
 * Druproid Support Inc.: https://druproidsupport.com
 * Shalin Shukla (skshukla96@gmail.com): /u/skshukla96gmailcom
 * Gurjinder Singh (me@gurjindersingh.ca): /u/gurjinder_pabla
 * Shalin Shukla (skshukla96@gmail.com): /u/shalin_shukla
 * Gurjinder Singh (gurjinder_12@yahoo.com): /u/gurjinder_pabla
+1 −1
Original line number Diff line number Diff line
name: Cookie Block
type: module
description: 'Module to add the condition on based of the cookie condition.'
core_version_requirement: ^8 || ^9
core_version_requirement: ^8 || ^9 || ^10
package: Other
+0 −1
Original line number Diff line number Diff line
@@ -114,7 +114,6 @@ class CookieCondition extends ConditionPluginBase implements ContainerFactoryPlu

    $cookies = $this->request->cookies;
    $systemCookie = $cookies->get($this->configuration['cookie_id']);

    $cookie = $this->configuration['cookie_value'];

    if (!empty($systemCookie)) {