function oa_core_init in Open Atrium Core 7.2
Implements hook_init();
File
- ./
oa_core.module, line 77
Code
function oa_core_init() {
// prevent og-menu-single from participating in Drupal breadcrumb creation
// otherwise it will load every space node on the site
menu_tree_set_path('og-menu-single', '');
// Panopoly Widgets adds the Seven theme css to Media Browser, which fixes
// many style issues. But we need some tweaks with Bootstrap to improve it
if (arg(0) == 'media' && arg(1) == 'browser') {
drupal_add_css(drupal_get_path('module', 'oa_core') . '/css/oa_core.media.css', array(
'group' => CSS_THEME,
'weight' => -1,
));
}
}