## Description of the need
When vocabularies were entities in D7, whenever you updated a vocabulary, the presave and update hooks received the original (unchanged) vocabulary under $entity->original. In Backdrop, when vocabularies were demoted to config classes, this feature was removed.
It would be very helpful to bring back this feature. It's not hard to do.
## Proposed solution
In the `save` method of TaxonomyVocabulary, we'd need to load the original vocabulary before it's saved, and add it to the vocabulary object under `original`. We would also need to create a `vocabulary_load_unchanged()` function to circumvent the cache and load the original vocabulary before it's saved.
I can probably provide a PR for this soon. But I'd like to ask if there is interest in this feature?
GitHub Issue #:
5475
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE