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.
The current 7.x-3.x branch creates empty "help" regions if the "help" region is being rendered but there is no content. This can occur, for example, if a block is positioned in the region but its hook_block_view() implementation returns an empty array.
This patch adds the glyphicon only if there is content, so that the region is hidden if it is empty.
This bug was introduced in commit 994b110 from this issue: https://drupal.org/node/2100707
Comment | File | Size | Author |
---|---|---|---|
bootstrap-empty-help-region.patch | 617 bytes | ezheidtmann | |
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedPatch still applies cleanly on 3.x version.
Comment #2
markhalliwellThanks @ezheidtmann!
Committed 2041f32 to 7.x-3.x:
Comment #3
markhalliwellCommitted 55b2253 to 7.x-3.x:
Comment #6
ryan.armstrong CreditAttribution: ryan.armstrong commentedMoving this to the 8.x-3.x branch as it has been committed to that branch. Making sure the fix gets tested in the Drupal 8 release.
Comment #8
markhalliwellI'm just moving this back to 7.x. If this needs re-evaluation in 8.x, create a new issue.