From eecfb03d24759e7d3f73ed3b45c44851a66b4c64 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 16 Dec 2021 10:06:33 +0000 Subject: [PATCH] Issue #3080819 by beatrizrodrigues, ankithashetty, lucienchalom, quietone, Vivek Panicker, catch: Missing documentation for "core_version_requirements" key in InfoParserInterface file --- core/lib/Drupal/Core/Extension/InfoParserInterface.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/lib/Drupal/Core/Extension/InfoParserInterface.php b/core/lib/Drupal/Core/Extension/InfoParserInterface.php index 214a4467fdc1..c2615284e242 100644 --- a/core/lib/Drupal/Core/Extension/InfoParserInterface.php +++ b/core/lib/Drupal/Core/Extension/InfoParserInterface.php @@ -20,6 +20,10 @@ interface InfoParserInterface { * - name: The real name of the module for display purposes. (Required) * - description: A brief description of the module. * - type: whether it is for a module or theme. (Required) + * - core_version_requirement: Specifies the compatible version or versions of + * Drupal core. For example, "9.3 || 9.4" means compatibility with Drupal + * 9.3 and 9.4; ">=9" means compatible with Drupal 9, 10 and later versions, + * "<=9" means compatible with Drupal 8 and 9. (Required) * - lifecycle: [experimental|stable|deprecated|obsolete]. A description of * the current phase in the lifecycle of the module, theme or profile. * -- GitLab