Change the hardcoded Drupal version in core.

Created on 20 November 2021, over 2 years ago
Updated 2 March 2023, over 1 year ago

Problem/Motivation

In Status Report, the PHP Version section has a link to the "PHP requirements", the link text is "Drupal 8 PHP requirements handbook page", the Drupal version is hardcoded.

Steps to reproduce

N/A

Proposed resolution

Use the version constant from drupal class.
substr(\Drupal::VERSION, 0, strpos(\Drupal::VERSION, "."))

Remaining tasks

Find/change all "Drupal 8" in core to be dynamic.

User interface changes

N/A

API changes

N/A

Data model changes

Na

Release notes snippet

N/A

📌 Task
Status

Closed: duplicate

Version

10.1 ✨

Component
System  →

Last updated 1 day ago

No maintainer
Created by

🇯🇴Jordan SyfJO Jordan 🇯🇴.

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024