Skip to content

Compatibility with Drupal 11 #12

@kayakr

Description

@kayakr

Upgrade Status module reports:

  • web/modules/custom/ip_range_access/src/Plugin/Condition/UserIpAddress.php, L19, Providing context definitions via the "context" key is deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Use the "context_definitions" key instead.
  • web/modules/custom/ip_range_access/ip_range_access.info.yml, L5, Value of core_version_requirement: ^9 || ^10 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.

Plus, a good opportunity to define the UserIpAddress and DenyAccessReaction plugins via PHP attributes https://www.drupal.org/docs/drupal-apis/plugin-api/attribute-based-plugins

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions