You are here

function panels_everywhere_managed_page_context in Panels Everywhere 7

Same name and namespace in other branches
  1. 6 plugins/arguments/managed_page.inc \panels_everywhere_managed_page_context()

Discover if this argument gives us the term we crave.

1 string reference to 'panels_everywhere_managed_page_context'
managed_page.inc in plugins/arguments/managed_page.inc

File

plugins/arguments/managed_page.inc, line 21

Code

function panels_everywhere_managed_page_context($arg = NULL, $conf = NULL, $empty = FALSE) {

  // If unset it wants a generic, unfilled context.
  if ($empty) {
    return ctools_context_create_empty('managed_page');
  }
  $context = ctools_context_create('managed_page', $arg);
  $context->original_argument = $arg;
  return $context;
}