protected BlockController::getVisibleRegionNames($theme)
Returns the human-readable list of regions keyed by machine name.
Parameters
string $theme: The name of the theme.
Return value
array An array of human-readable region names keyed by machine name.
File
- core/modules/block/src/Controller/BlockController.php, line 96
Class
- BlockController
- Controller routines for admin block routes.
Namespace
Drupal\block\Controller
Code
protected function getVisibleRegionNames($theme) { return system_region_list($theme, REGIONS_VISIBLE); }
Please login to continue.