You are here

function overlay_system_info_alter in Drupal 7

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';
  }
}