Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
block.module
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
constant BLOCK_VISIBILITY_LISTED
Shows this block on only the listed pages.
2 uses of BLOCK_VISIBILITY_LISTED
BlockAccessController::checkAccess
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockAccessController.php
Performs access checks.
BlockTest::testBlockVisibilityListedEmpty
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Test block visibility when using "pages" restriction but leaving "pages" textarea empty
File
drupal/
core/
modules/
block/
block.module
, line 39
Controls the visual building blocks a page is constructed with.
Code
const
BLOCK_VISIBILITY_LISTED
=
1
;