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

Split up and refactor system_requirements() into OOP hooks

$
0
0

Problem/Motivation

System requirements needs refactoring, it does far too much.

Steps to reproduce

Open system.install

Proposed resolution

Convert update and runtime requirement phases to the new:
hook_runtime_requirements
hook_update_requirements

For install time evaluated if it should move to InstallRequirements.php or should move to some internal service.

Remaining tasks

Evaluate code

User interface changes

N/A

Introduced terminology

N/A

API changes

Likely a few

Data model changes

N/A

Release notes snippet


Viewing all articles
Browse latest Browse all 293174

Trending Articles



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