function ctools_context_entity_get_child in Chaos Tool Suite (ctools) 7
1 string reference to 'ctools_context_entity_get_child'
- entity.inc in plugins/contexts/entity.inc
- Plugin to provide a node context. A node context is a node wrapped in a
context object that can be utilized by anything that accepts contexts.
File
- plugins/contexts/entity.inc, line 31
- Plugin to provide a node context. A node context is a node wrapped in a
context object that can be utilized by anything that accepts contexts.
Code
function ctools_context_entity_get_child($plugin, $parent, $child) {
$plugins = ctools_context_entity_get_children($plugin, $parent);
return $plugins[$parent . ':' . $child];
}