BlockController::getVisibleRegionNames

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

1
2
3
protected function getVisibleRegionNames($theme) {
  return system_region_list($theme, REGIONS_VISIBLE);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.