Description of the need
This is a cross-port from https://www.drupal.org/node/702778, and part of the task list #5770. The D7 issue added a method, getElement()
, to PagerDefault
that returns the element ID of the pager. Having this method allows developers an easier way to have more than one pager in the same page without conflicts.
Before this new method, the only way to handle more than one pager in the same page was to hard-code the element ID through PagerDefault::element()
. This doesn't make much sense and can lead to unexpected conflicts if two different modules need to add a pager to the same page. PagerDefault
already has a way to avoid those conflicts by keeping track of IDs in a static variable, but until this feature was added in D7, it was impossible to get the internally assigned element ID (which is a protected property).
PR coming.
Recent comments
Sounds like the Stripe processor isn’t fully initialising, so the extension tries to call create() on a missing Stripe client. On Backdrop/CiviCRM this usually happens when the payment processor...
Getting Error after submitting event register form By using Stripe Payment Processor
Welcome to Backdrop! For your setup, you’ll want to create a subtheme of Bootstrap5 Lite itself; the Bootswatch styles (like Cerulean) are just presets that B5 Lite loads, and you can “lock in”...
Basic Theme designing questions, using Bootstrap5 Lite
Hi Rob, Welcome to Backdrop! Here’s a quick overview: Subtheming Bootswatch: You should create your subtheme based on Bootstrap5 Lite, not directly on a Bootswatch style....
Basic Theme designing questions, using Bootstrap5 Lite