function ctools_get_relationship
Fetch plugin metadata for a specific relationship plugin.
Parameters
$relationship: Name of a panel content type.
Return value
array An array with information about the requested relationship.
See also
1 call to ctools_get_relationship()
- ctools_entity_from_field_context in plugins/
relationships/ entity_from_field.inc - Return a new context based on an existing context.
1 string reference to 'ctools_get_relationship'
- ctools_context_info in includes/
context-admin.inc - Provide a list of the ways contexts can be embedded.
File
-
includes/
context.inc, line 1300
Code
function ctools_get_relationship($relationship) {
ctools_include('plugins');
return ctools_get_plugins('ctools', 'relationships', $relationship);
}