function overlay_system_info_alter

overlay_system_info_alter(&$info, $file, $type)

Implements hook_system_info_alter().

Add default regions for the overlay.

File

modules/overlay/overlay.module, line 470
Displays the Drupal administration interface in an overlay.

Code

function overlay_system_info_alter(&$info, $file, $type) {
  if ($type == 'theme') {
    $info['overlay_regions'][] = 'content';
    $info['overlay_regions'][] = 'help';
  }
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!overlay!overlay.module/function/overlay_system_info_alter/7.x