You are here

function panels_get_relationship in Panels 5.2

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

Fetch a relationship plugin


$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/
Fetch all active relationships
panels_update_5209 in ./panels.install
1 string reference to 'panels_get_relationship'
panels_common_context_info in includes/


includes/, line 1646


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