You are here

function colorbox_node_is_active in Colorbox Node 7.3

Determines if the current page request is inside a modal window.

2 calls to colorbox_node_is_active()
colorbox_node_ctools_access_check in ctools/plugins/access/is_colorbox_node.inc
Check for access.
colorbox_node_form_ajax_support in ./colorbox_node.module
_state _id
1 string reference to 'colorbox_node_is_active'
colorbox_node_output in ./colorbox_node.module
Displays a node view without the page template. Takes the path as our argument and from that we will determine the internal path and node id.

File

./colorbox_node.module, line 346
Creates a menu callback with support for displaying a node inside of a colorbox.

Code

function colorbox_node_is_active() {
  return drupal_static('colorbox_node_is_active', FALSE);
}