Description of the need
Follow-up from https://github.com/backdrop/backdrop-issues/issues/4122.
Right now both CKEditor 4 and CKEditor 5 modules implement hook_telemetry_info() to report their respective CKEditor version strings. For example:
CKEditor 4 returns ckeditor_version of 4.18.0
CKEditor 5 returns ckeditor5_version of 40.2.0
While this data is useful in some ways to tell how up-to-date our library usage is, it's not helpful for distinguishing between CKEditor 4 and 5 (or both) usage. To do that we need a separate return value of either 4, 5, or both.
Proposed solution
Since each module can only report if it is enabled, I think it would make sense to include this value in telemetry.module directly.
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