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_CUSTOM_ENABLED
Shows this block by default, but lets individual users hide it.
2 uses of BLOCK_CUSTOM_ENABLED
BlockTest::testBlockVisibilityPerUser
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Test user customization of block visibility.
block_block_list_alter
in drupal/
core/
modules/
block/
block.module
Implements
hook_block_list_alter
().
File
drupal/
core/
modules/
block/
block.module
, line 21
Controls the visual building blocks a page is constructed with.
Code
const
BLOCK_CUSTOM_ENABLED
=
1
;