Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
block.module
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
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/
core/
modules/
block/
block.admin.inc
Form constructor for the block configuration form.
block_block_list_alter
in drupal/
core/
modules/
block/
block.module
Implements
hook_block_list_alter
().
File
drupal/
core/
modules/
block/
block.module
, line 41
Controls the visual building blocks a page is constructed with.
Code
const
BLOCK_VISIBILITY_PHP
=
2
;