You are here

constant BLOCK_VISIBILITY_PHP in Drupal 7

Shows this block if the associated PHP code returns TRUE.

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

File

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

Code

define('BLOCK_VISIBILITY_PHP', 2);