You are here

function panels_get_relationship in Panels 6.2

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_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 call to panels_get_relationship()
panels_relationship_get_contexts in includes/plugins.inc
Fetch all active relationships
1 string reference to 'panels_get_relationship'
panels_common_context_info in includes/common-context.inc
Provide a list of the ways contexts can be embedded.

File

includes/plugins.inc, line 1669
plugins.inc

Code

function panels_get_relationship($relationship) {
  return panels_get_plugins('relationships', 'panels_relationships', $relationship);
}