function overlay_get_mode

Gets the current overlay mode.

See also

overlay_set_mode()

10 calls to overlay_get_mode()
hook_batch_alter in drupal/core/modules/system/system.api.php
Alter batch information before a batch is processed.
OverlaySubscriber::onRequest in drupal/core/modules/overlay/lib/Drupal/overlay/EventSubscriber/OverlaySubscriber.php
Performs check on the beginning of a request.
OverlaySubscriber::onResponse in drupal/core/modules/overlay/lib/Drupal/overlay/EventSubscriber/OverlaySubscriber.php
Performs end of request tasks.
overlay_batch_alter in drupal/core/modules/overlay/overlay.module
Implements hook_batch_alter().
overlay_disable_message in drupal/core/modules/overlay/overlay.module
Returns a renderable array representing a message for disabling the overlay.

... See full list

File

drupal/core/modules/overlay/overlay.module, line 510
Displays the Drupal administration interface in an overlay.

Code

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