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

Prevent the deletion of a bundle entity if there are existing content entities of that bundle

$
0
0

Problem/Motivation

Check the issue title ;)

Proposed resolution

Override the preDelete() method in ConfigEntityBundleBase and throw an exception when there are existing content entities using the bundle that is about to be deleted.

Remaining tasks

Review.

User interface changes

Nope.

API changes

Deleting config entities that act as bundles for content entities is now prevented on the API level when there is existing data for those bundles.


Viewing all articles
Browse latest Browse all 292473

Trending Articles



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