DynamicallyFieldableEntityStorageInterface::onBundleRename() has been removed and moved to a listener. See https://www.drupal.org/node/2346455 for more information.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2802563-2-removed-onbundlerename.patch | 1.2 KB | temkin |
DynamicallyFieldableEntityStorageInterface::onBundleRename() has been removed and moved to a listener. See https://www.drupal.org/node/2346455 for more information.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2802563-2-removed-onbundlerename.patch | 1.2 KB | temkin |
Comments
Comment #2
dishabhadra commentedComment #3
dishabhadra commentedHi,
I am interested to submit the patch. So it would be helpful if someone help me out and provide me the more info.
Comment #4
jcisio commentedWith #2172843: Remove ability to update entity bundle machine names the media bundle can't be renamed now. So you can simple remove the method. The empty MediaStorage class should be keep for backward compatibility.
Comment #5
temkin commentedI've compared this logic with node module, and it seems we are not allowed to change bundle type once it was created. See ConfigEntityBundleBase.php, preSave method. Therefore getting rid of that logic altogether. Patch attached.
Comment #6
temkin commentedApologies, I didn't see previous comments. Was working on this issue for a couple of hours.
Comment #7
jcisio commentedPatch seems good. Yes, it actually needs quite a few hours to dig into separate change records and issues a year ago.
Comment #8
dishabhadra commentedHi temkin,
No worries.
Comment #10
slashrsm commentedCommitted. I attributed all three in the commit message. Thank you!