function alpha_region_options

cis7 theme-settings.php alpha_region_options($regions)
cle7 theme-settings.php alpha_region_options($regions)
elmsmedia7 theme-settings.php alpha_region_options($regions)
icor7 theme-settings.php alpha_region_options($regions)
meedjum_blog7 theme-settings.php alpha_region_options($regions)
mooc7 theme-settings.php alpha_region_options($regions)

A helper function to return a proper options array for a form.

Return value

An array of available regions.

1 call to alpha_region_options()
alpha_zone_regions in sites/all/themes/ulmus/omega/alpha/theme-settings.php
A helper function to return a proper options array for a form.

File

sites/all/themes/ulmus/omega/alpha/theme-settings.php, line 284

Code

function alpha_region_options($regions) {
  $output = array();
  foreach ($regions as $region => $item) {
    $output[$region] = $item['name'];
  }

  return $output;
}