- πΊπΈUnited States bluegeek9
Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade β .
Right now, domain_block_view_switcher()
returns a block renderable array, but the content is itself just pre-rendered #markup
. One of our clients wants to be able to e.g. add domains to the switcher that are actually hosted outside of Drupal (some countries have opted into Drupal; others haven't!)
At any rate, it would be useful to be able to alter the list of domains (re-order them? disable some?) rather than rendering the markup too early. I think it's best practice to expose the contents of blocks to hooks like hook_block_view_alter()
and hook_page_alter()
if possible.
Will attach a patch for this in the first comment.
Closed: outdated
3.5
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade β .