You are here

function panels_context_id in Panels 6.2

Determine a unique context ID for a context

3 calls to panels_context_id()
panels_argument_get_display in includes/plugins.inc
Choose a display based upon arguments and loaded contexts.
panels_argument_load_contexts in includes/plugins.inc
Load the contexts for a given panel.
panels_relationship_get_contexts in includes/plugins.inc
Fetch all active relationships

File

includes/plugins.inc, line 1136
plugins.inc

Code

function panels_context_id($context, $type = 'context') {
  return $type . "_{$context['name']}_{$context['id']}";

  // return $type . "_{$context['name']}_{$context['id']}";
}