function ctools_context_admin_includes in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/context-admin.inc \ctools_context_admin_includes()
Include all context administrative include files, css, javascript.
2 calls to ctools_context_admin_includes()
- ctools_access_ruleset_ui::edit_form_context in ctools_access_ruleset/
plugins/ export_ui/ ctools_access_ruleset_ui.class.php - ctools_context_handler_edit_context in includes/
context-task-handler.inc - Edit contexts that go with this panel.
File
- includes/
context-admin.inc, line 259 - includes/common-context.inc Provide API for adding contexts for modules that embed displays.
Code
function ctools_context_admin_includes() {
ctools_include('context');
ctools_include('modal');
ctools_include('ajax');
ctools_include('object-cache');
ctools_modal_add_js();
ctools_modal_add_plugin_js(ctools_get_contexts());
ctools_modal_add_plugin_js(ctools_get_relationships());
}