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

drupal_get_schema()/drupal_get_complete_schema() no longer work as expected; remove them

$
0
0

Problem/Motivation

Now that we autogenerate entity schema, we no longer allow people to alter the schema of modules.

In other words, we don't use drupal_get_schema() anymore

Proposed resolution

Let's kill it, everything else is a lie.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryTask because there isn't actually a functional bug (just the risk of introducing one).
Issue priorityMajor because these functions will not work as expected in Drupal 8 and are misleading for core and contrib.
Prioritized changesThe main goal of this issue is removing mostly-dead code that will not work as expected, and thereby reducing fragility. @alexpott has agreed that this change is worth pursuing during the beta.
DisruptionThe patch will include a BC break. We should break BC rather than having a broken API.

Remaining tasks

User interface changes

API changes


Viewing all articles
Browse latest Browse all 292306

Trending Articles



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