You are here

function openlayers_plus_system_info_alter in OpenLayers Plus 7.3

Implements hook_system_info_alter()

Adds regions to all themes that can be used on top of the map

File

./openlayers_plus.module, line 302
Openlayers_plus module file.

Code

function openlayers_plus_system_info_alter(&$info, $file, $type) {
  if ($type == 'theme') {
    $info['regions']['olblockpanel'] = t('OL+ Block Panel Region');
    $info['regions']['olmaptext_1'] = t('OL+ Maptext Region 1');
  }
}