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.
Hello
Here a patch to support the module domain blocks.
Pierre
Hello
Here a patch to support the module domain blocks.
Pierre
Comments
Comment #1
pierrelbzComment #2
botanic_spark CreditAttribution: botanic_spark commented@pierrelbz Thanks for the patch.
This is really useful.
Comment #3
thijsvdanker CreditAttribution: thijsvdanker commentedWorks like a charm, thanks!
I've modified some whitespace / new-line issues in the patch. See interdiff.
Comment #4
thijsvdanker CreditAttribution: thijsvdanker commentedWhen there are no domains specified for a block, the $block_domain_blocks variable is an empty string instead of an array.
This patch checks for an array before throwing it in the foreach loop.