You are here

function overlay_get_mode in Drupal 7

Gets the current overlay mode.

See also

overlay_set_mode()

10 calls to overlay_get_mode()
hook_batch_alter in modules/system/system.api.php
Alter batch information before a batch is processed.
overlay_batch_alter in modules/overlay/overlay.module
Implements hook_batch_alter().
overlay_disable_message in modules/overlay/overlay.module
Returns a renderable array representing a message for disabling the overlay.
overlay_drupal_goto_alter in modules/overlay/overlay.module
Implements hook_drupal_goto_alter().
overlay_exit in modules/overlay/overlay.module
Implements hook_exit().

... See full list

File

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

Code

function overlay_get_mode() {
  return overlay_set_mode(NULL);
}