You are here

function panels_get_relationship in Panels 5.2

Same name and namespace in other branches
  1. 6.2 includes/plugins.inc \panels_get_relationship()

Fetch a relationship plugin

Parameters

$content type: Name of a panel content type.

Return value

An array with information about the requested relationship

2 calls to panels_get_relationship()
panels_relationship_get_contexts in includes/plugins.inc
Fetch all active relationships
panels_update_5209 in ./panels.install
1 string reference to 'panels_get_relationship'
panels_common_context_info in includes/common.inc

File

includes/plugins.inc, line 1646
plugins.inc

Code

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