ctools_context_get_plugin
Drupal 7 ctools_context_get_plugin($type, $name)
Get the data belonging to a particular context.
3 calls to ctools_context_get_plugin()
File
- sites/
all/ modules/ ctools/ includes/ context-admin.inc, line 77 - includes/common-context.inc Provide API for adding contexts for modules that embed displays.
Code
function ctools_context_get_plugin($type, $name) {
$info = ctools_context_info($type);
if (function_exists($info['context function'])) {
return $info['context function']($name);
}
}

