Description of the need
I know that $config->get() -- with no parameters passed -- gets all the data from a config file, but every time I'm using config->setData() I always first type config->getData() when attempting to retrieve the data. It doesn't ever work, and I always have to look it up.
Proposed solution
Can we add $config->getData() even just as a wrapper function to $config->get() for consistency?
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
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