protected function PlaceBlockPageVariant::getVisibleRegionNames in Drupal 8
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.
1 call to PlaceBlockPageVariant::getVisibleRegionNames()
- PlaceBlockPageVariant::build in core/
modules/ block_place/ src/ Plugin/ DisplayVariant/ PlaceBlockPageVariant.php - Builds and returns the renderable array for the display variant.
File
- core/
modules/ block_place/ src/ Plugin/ DisplayVariant/ PlaceBlockPageVariant.php, line 142
Class
- PlaceBlockPageVariant
- Allows blocks to be placed directly within a region.
Namespace
Drupal\block_place\Plugin\DisplayVariantCode
protected function getVisibleRegionNames($theme) {
return system_region_list($theme, REGIONS_VISIBLE);
}