You are here

function ctools_get_relationships in Chaos Tool Suite (ctools) 7

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

Fetch metadata for all relationship plugins.

Return value

array An array of arrays with information about all available relationships.

See also

ctools_get_relationship()

2 calls to ctools_get_relationships()
ctools_context_admin_includes in includes/context-admin.inc
Include all context administrative include files, css, javascript.
ctools_context_get_relevant_relationships in includes/context.inc
Fetch all relevant relationships.

File

includes/context.inc, line 1300
Contains code related to the ctools system of 'context'.

Code

function ctools_get_relationships() {
  ctools_include('plugins');
  return ctools_get_plugins('ctools', 'relationships');
}