summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--core/lib/Drupal/Core/Extension/InfoParserInterface.php4
1 files changed, 4 insertions, 0 deletions
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.
*