- Issue created by @vishal prasad
- Merge request !11Issue #3462536: Used the Oops way to fetch the Drupal version where required. → (Open) created by vishal prasad
In the class Fast404.php
we are fetching the Drupal version using \Drupal::VERSION
It will be better to use the Object oriented way to get the Drupal Version.
This line of code was introduced to overcome the css break caused by Aggregation.
We can use the @update.manager
Service instead and fetch the Current Drupal Version, and pass it to the extensionCheck()
function where the Version comparison is required.
Active
3.0
Code