'message'=>"Value of core_version_requirement: {$info['core_version_requirement']} is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.",
'message'=>"This extension is obsolete. Obsolete extensions are usually uninstalled automatically when not needed anymore. You only need to do something about this if the uninstallation was unsuccesful. See $link.",
'message'=>"Parse error in composer.json. Having a composer.json is not a requirement in general, but if there is one, it should be valid. See https://drupal.org/node/2514612.",
'message'=>"The drupal/core requirement is not compatible with the next major version of Drupal. Either remove it or update it to be compatible. See https://drupal.org/node/2514612#s-drupal-9-compatibility.",
'message'=>"The PHP requirement is not compatible with PHP 8. Once the codebase is actually compatible, either remove this limitation or update it to be compatible.",
$deprecations[]=newDeprecationMessage("The now required 'base theme' key is missing. See https://www.drupal.org/node/3066038.",$error_path,0);
}
}
if(!isset($info['core_version_requirement'])){
$deprecations[]=newDeprecationMessage("Add core_version_requirement: ^8 || ^9 to designate that the extension is compatible with Drupal 9. See https://drupal.org/node/3070687.",$error_path,0);
$deprecations[]=newDeprecationMessage("Value of core_version_requirement: {$info['core_version_requirement']} is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.",$error_path,0);
}
// @todo
// Change values to ExtensionLifecycle class constants once at least
$deprecations[]=newDeprecationMessage("This extension is deprecated. Don't use it. See $link.",$error_path,0);
}
elseif($info['lifecycle']=='obsolete'){
$deprecations[]=newDeprecationMessage("This extension is obsolete. Obsolete extensions are usually uninstalled automatically when not needed anymore. You only need to do something about this if the uninstallation was unsuccesful. See $link.",$error_path,0);
$deprecations[]=newDeprecationMessage("Parse error in composer.json. Having a composer.json is not a requirement in general, but if there is one, it should be valid. See https://drupal.org/node/2514612.",$error_path,0);
$deprecations[]=newDeprecationMessage("The drupal/core requirement is not compatible with the next major version of Drupal. Either remove it or update it to be compatible. See https://drupal.org/node/2514612#s-drupal-9-compatibility.",$error_path,0);
$deprecations[]=newDeprecationMessage("The PHP requirement is not compatible with PHP 8. Once the codebase is actually compatible, either remove this limitation or update it to be compatible.",$error_path,0);
}
}
return$deprecations;
}
/**
* Finds all .info.yml files for extensions under a path.
*
* @param string $path
* Base path to find all info.yml files in.
*
* @return array
* A list of paths to .info.yml files found under the base path.