From d2481b8ce8b59d6024f1c9deb464d04ca29f54ad Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 16 Apr 2014 16:08:57 -0700 Subject: Issue #2195357 by Rajendar Reddy, GoddamnNoise, Pol: Fix docs in hook_block_info() --- modules/block/block.api.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/block') 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); '' - * 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: + * "\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); '' 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. * -- cgit v1.2.3