function overlay_system_info_alter

Implements hook_system_info_alter().

Add default regions for the overlay.

File

modules/overlay/overlay.module, line 470

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.