You are here

private function GroupAddForm::getRegionsList in Context groups 8

Same name and namespace in other branches
  1. 8.2 src/Form/GroupAddForm.php \Drupal\context_groups\Form\GroupAddForm::getRegionsList()

Get list of regions in theme.

Parameters

string $theme: Theme name.

Return value

array List of regions.

1 call to GroupAddForm::getRegionsList()
GroupAddForm::buildForm in src/Form/GroupAddForm.php
Form constructor.

File

src/Form/GroupAddForm.php, line 184

Class

GroupAddForm
Class GroupDeleteForm.

Namespace

Drupal\context_groups\Form

Code

private function getRegionsList($theme) {
  return system_region_list($theme, BlockRepositoryInterface::REGIONS_ALL);
}