You are here

function ctools_get_relationship in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context.inc \ctools_get_relationship()

Fetch metadata on a specific relationship plugin.

Parameters

$content type: Name of a panel content type.

Return value

An array with information about the requested relationship.

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 839
Contains code related to the ctools system of 'context'.

Code

function ctools_get_relationship($relationship) {
  ctools_include('plugins');
  return ctools_get_plugins('ctools', 'relationships', $relationship);
}