constant BLOCK_VISIBILITY_PHP

Shows this block if the associated PHP code returns TRUE.

2 uses of BLOCK_VISIBILITY_PHP
block_admin_configure in drupal/modules/block/block.admin.inc
Form constructor for the block configuration form.
block_block_list_alter in drupal/modules/block/block.module
Implements hook_block_list_alter().

File

drupal/modules/block/block.module, line 41
Controls the visual building blocks a page is constructed with.

Code

define('BLOCK_VISIBILITY_PHP', 2);