function rb_misc_conditions_get_child in Rules Bonus Pack 7
Describe a single plugin.
This function is stolen straight off from entity_bundle.inc.
1 string reference to 'rb_misc_conditions_get_child'
- rb_misc_conditions.inc in plugins/
access/ rb_misc_conditions.inc - Plugin to create access plugins from Rules condition components.
File
- plugins/
access/ rb_misc_conditions.inc, line 68 - Plugin to create access plugins from Rules condition components.
Code
function rb_misc_conditions_get_child($plugin, $parent, $child) {
// Get the component from cache to speed up evaluation.
$component = rules_get_cache('comp_' . $child);
if ($component) {
return rb_misc_condition_get_plugin_info($parent, $child, $component);
}
}