diff --git a/core/lib/Drupal/Core/Extension/InfoParserInterface.php b/core/lib/Drupal/Core/Extension/InfoParserInterface.php index 214a4467fdc144a6e31eff0149637946cb717fe6..c2615284e2428d32d1109fb56f8d78413dff7cbc 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. *