constant BLOCK_REGION_NONE

Denotes that a block is not enabled in any region and should not be shown.

5 uses of BLOCK_REGION_NONE
BlockFormController::form in drupal/core/modules/block/lib/Drupal/block/BlockFormController.php
Overrides \Drupal\Core\Entity\EntityFormController::form().
BlockListController::buildForm in drupal/core/modules/block/lib/Drupal/block/BlockListController.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
BlockListController::sort in drupal/core/modules/block/lib/Drupal/block/BlockListController.php
Sorts active blocks by region then weight; sorts inactive blocks by name.
BlockListController::submitForm in drupal/core/modules/block/lib/Drupal/block/BlockListController.php
Implements \Drupal\Core\Form\FormInterface::submitForm().
_block_rehash in drupal/core/modules/block/block.module
Returns an array of block class instances by theme.

File

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

Code

const BLOCK_REGION_NONE = -1;