Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
See #2544548: Add Drupal::VERSION constant update to packaging script for the motivation.
Proposed resolution
Add Drupal::version().
Deprecate and/or remove the constant and move it to YAML so that it can be written on packaging.
Remaining tasks
User interface changes
None.
API changes
Yes, Drupal::VERSION will be deprecated or removed entirely.
Data model changes
None.
Comments