You are here

function ctools_entity_from_field_get_child in Chaos Tool Suite (ctools) 7

1 string reference to 'ctools_entity_from_field_get_child'
entity_from_field.inc in plugins/relationships/entity_from_field.inc
Plugin to provide an relationship handler for an entity from a field.

File

plugins/relationships/entity_from_field.inc, line 22
Plugin to provide an relationship handler for an entity from a field.

Code

function ctools_entity_from_field_get_child($plugin, $parent, $child) {
  $plugins = ctools_entity_from_field_get_children($plugin, $parent);
  return $plugins[$parent . ':' . $child];
}