10 calls to system_region_list() in Drupal 9
- Block::preSave in core/
modules/ block/ src/ Entity/ Block.php - Acts on an entity before the presave hook is invoked.
- BlockController::getVisibleRegionNames in core/
modules/ block/ src/ Controller/ BlockController.php - Returns the human-readable list of regions keyed by machine name.
- BlockDeleteForm::systemRegionList in core/
modules/ block/ src/ Form/ BlockDeleteForm.php - Wraps system_region_list().
- BlockForm::form in core/
modules/ block/ src/ BlockForm.php - Gets the actual form array to be built.
- BlockForm::themeSwitch in core/
modules/ block/ src/ BlockForm.php - Handles switching the available regions based on the selected theme.
- BlockListBuilder::systemRegionList in core/
modules/ block/ src/ BlockListBuilder.php - Wraps system_region_list().
- block_rebuild in core/
modules/ block/ block.module - Implements hook_rebuild().
- block_theme_initialize in core/
modules/ block/ block.module - Assigns an initial, default set of blocks for a theme.
- system_default_region in core/
modules/ system/ system.module - Gets the name of the default region for a given theme.
- ThemeInstallerTest::testThemeInfoAlter in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeInstallerTest.php - Tests that theme info can be altered by a module.