Is Drupal 9 ready for production?
This is the first supported release of the new Drupal 9 major version, and it is ready for use on production sites! Regardless of which version you choose now, features will only be added to Drupal 9 minor releases, so plan to be on Drupal 9 this year so that you can easily update to Drupal 9.1 and later.
What is new in drupal9?
Drupal 9.0 has the same features Drupal 8.9 (other than those provided by updated dependencies). The key benefit of Drupal 9 over Drupal 8 is the platform will be supported with security fixes after November 2021. The standout feature of Drupal 9 is its ability to provide as easy an upgrade as feasible from Drupal 8.
Why do I need core version in info.yml?
For example a module that is compatible with Drupal 8 and Drupal 9 can have a info.yml file like this This specifies that the module is compatible with all versions of Drupal 8 and 9. The core: is required here because Drupal Core versions before 8.7.7 do not recognize the core_version_requirement: key.
When is core version required for test modules?
Prior to 8.8.2, the value is required for test modules and will cause site errors if it is not included. These errors are even encountered if $settings[‘extension_discovery_scan_tests’] = TRUE; is not enabled in settings.php.
Why do I need a core version in Drupal?
The core: is required here because Drupal Core versions before 8.7.7 do not recognize the core_version_requirement: key. Most modules however will have to remove deprecated code to be compatible with Drupal 9. Therefore they will not able to be compatible with all versions of Drupal 8.
When to use core version requirement in PHP?
These errors are even encountered if $settings[‘extension_discovery_scan_tests’] = TRUE; is not enabled in settings.php. For Drupal 10 compatibility, core_version_requirement is still used. Once you ensured the project is otherwise compatible with Drupal 10, specify the version constraint to allow Drupal 10 compatibility.