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

protected function getVisibleRegionNames($theme) {
  return system_region_list($theme, REGIONS_VISIBLE);
}
doc_Drupal
2016-10-29 08:47:21
Comments
Leave a Comment

Please login to continue.