You are here

function panels_relationship_context_id in Panels 5.2

Determine a unique context ID for an argument

1 call to panels_relationship_context_id()
panels_relationship_get_contexts in includes/plugins.inc
Fetch all active relationships

File

includes/plugins.inc, line 927
plugins.inc

Code

function panels_relationship_context_id($relationship) {
  return "relationship_{$relationship['name']}_{$relationship['id']}";
}