You are here

function ctools_entity_from_schema_get_child in Chaos Tool Suite (ctools) 7

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

File

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

Code

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