There is a typo in the documentation of block_block_list_alter(): 'visibilty' => 'visibility'.
/**
* Implements hook_block_list_alter().
*
* Checks the page, user role, and user-specific visibilty settings.
* Removes the block if the visibility conditions are not met.
*/
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1705536-1-block-typo-7.x.patch | 879 bytes | pfrenssen |
| #1 | 1705536-1-block-typo-8.x.patch | 904 bytes | pfrenssen |
Comments
Comment #1
pfrenssenHere are patches for both D7 and D8.
Comment #2
pfrenssenAdding tag.
Comment #3
pfrenssenJust checked if this would be a candidate to be backported to D6 but this is not needed since this hook did not yet exist in D6.
Comment #4
steinmb commentedSeems RTBC
Comment #5
catchThanks. Committed/pushed to 8.x, moving to 7.x for backport.
Comment #6
pfrenssen#1: 1705536-1-block-typo-7.x.patch queued for re-testing.
Comment #7
dcam commented#1: 1705536-1-block-typo-7.x.patch queued for re-testing.
Comment #8
dcam commentedI checked out the D7 patch in #1. It's the same change that was made to D8 and it looks good to me. Marking it as RTBC.
Comment #9
David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/e66de8b