Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, it would be really handy to me if the domain attribution form was tick boxes rather than radios as when you have many domains to change and a lot of settings to set it takes a really long time to work through when you have to select and apply the settings one at a time
much quicker if i could select all domains that need the setting at once so as to not repeat the same settings over and over
Comment | File | Size | Author |
---|---|---|---|
settings.png | 33.05 KB | human1101 |
Comments
Comment #1
agentrickardFor multi-domain saving, you likely want the Batch Updates tab on the main module settings page.
Comment #2
human1101 CreditAttribution: human1101 commentedHi agentrickard
That does not really suit my needs as the settings i want to change are not available there, but the feature i requested would suit my need perfectly
thanks for pointing me at that page though as i hadn't noticed it at all
handy for some things i bet
Cheers
Jacob
Comment #3
agentrickardThat page is also extenxible via hook_domain_batch().
Changing from radios to checkboxes means rewriting the submit handler and trying to make that code smarter to handle the storage loop.
One reason we don't do this now is possible memory issues if you have lots of domains (say 200+). To load, unserialize and save each domain is a potentially long-running operation.