You are here

function panels_context_context_id in Panels 5.2

Determine a unique context ID for a context

@todo can probably combine the various versions of this.

File

includes/plugins.inc, line 1127
plugins.inc

Code

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