diff options
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.api.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/block/block.api.php b/modules/block/block.api.php index d8e129e2f..d7453b24b 100644 --- a/modules/block/block.api.php +++ b/modules/block/block.api.php @@ -87,13 +87,13 @@ * and any value provided can be modified by a user on the block * configuration screen. * - pages: (optional) See 'visibility' above. A string that contains one or - * more page paths separated by '\n', '\r', or '\r\n' when 'visibility' is - * set to BLOCK_VISIBILITY_NOTLISTED or BLOCK_VISIBILITY_LISTED, or custom - * PHP code when 'visibility' is set to BLOCK_VISIBILITY_PHP. Paths may use - * '*' as a wildcard (matching any number of characters); '<front>' - * designates the site's front page. For BLOCK_VISIBILITY_PHP, the PHP - * code's return value should be TRUE if the block is to be made visible or - * FALSE if the block should not be visible. + * more page paths separated by "\n", "\r", or "\r\n" when 'visibility' is + * set to BLOCK_VISIBILITY_NOTLISTED or BLOCK_VISIBILITY_LISTED (example: + * "<front>\nnode/1"), or custom PHP code when 'visibility' is set to + * BLOCK_VISIBILITY_PHP. Paths may use '*' as a wildcard (matching any + * number of characters); '<front>' designates the site's front page. For + * BLOCK_VISIBILITY_PHP, the PHP code's return value should be TRUE if the + * block is to be made visible or FALSE if the block should not be visible. * * For a detailed usage example, see block_example.module. * |