Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 305144

drupal_check_incompatibility() should be moved to a VersionChecker class

$
0
0

Problem/Motivation

The module handler includes a parseDependency() method that converts a module version string into an array format expected by the closely related drupal_check_incompatibility(), which is a global function but depends on this expected format.

Proposed resolution

Introduce a new VersionChecker helper class which can parse dependencies and check them for incompabilities ...

Remaining tasks

User interface changes

N/A.

API changes

\Drupal\Core\Extension\VersionChecker added.

Data model changes

None.


Viewing all articles
Browse latest Browse all 305144

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>