Révision 4444412d
Ajouté par Julien Enselme il y a environ 10 ans
drupal7/modules/block/block.api.php | ||
---|---|---|
87 | 87 |
* and any value provided can be modified by a user on the block |
88 | 88 |
* configuration screen. |
89 | 89 |
* - pages: (optional) See 'visibility' above. A string that contains one or |
90 |
* more page paths separated by '\n', '\r', or '\r\n' when 'visibility' is
|
|
91 |
* set to BLOCK_VISIBILITY_NOTLISTED or BLOCK_VISIBILITY_LISTED, or custom
|
|
92 |
* PHP code when 'visibility' is set to BLOCK_VISIBILITY_PHP. Paths may use
|
|
93 |
* '*' as a wildcard (matching any number of characters); '<front>'
|
|
94 |
* designates the site's front page. For BLOCK_VISIBILITY_PHP, the PHP
|
|
95 |
* code's return value should be TRUE if the block is to be made visible or
|
|
96 |
* FALSE if the block should not be visible. |
|
90 |
* more page paths separated by "\n", "\r", or "\r\n" when 'visibility' is
|
|
91 |
* set to BLOCK_VISIBILITY_NOTLISTED or BLOCK_VISIBILITY_LISTED (example:
|
|
92 |
* "<front>\nnode/1"), or custom PHP code when 'visibility' is set to
|
|
93 |
* BLOCK_VISIBILITY_PHP. Paths may use '*' as a wildcard (matching any
|
|
94 |
* number of characters); '<front>' designates the site's front page. For
|
|
95 |
* BLOCK_VISIBILITY_PHP, the PHP code's return value should be TRUE if the
|
|
96 |
* block is to be made visible or FALSE if the block should not be visible.
|
|
97 | 97 |
* |
98 | 98 |
* For a detailed usage example, see block_example.module. |
99 | 99 |
* |
Formats disponibles : Unified diff
Update drupal 7.27 -> 7.28