function oa_buttons_node_overrides in Open Atrium Core 7.2
Provides override for node pages which implement sections and spaces.
2 calls to oa_buttons_node_overrides()
- oa_buttons_form_oa_section_node_form_alter in modules/
oa_buttons/ oa_buttons.module - Implements hook_form_FORM_ID_alter().
- oa_buttons_form_oa_space_node_form_alter in modules/
oa_buttons/ oa_buttons.module - Implements hook_form_FORM_ID_alter().
File
- modules/
oa_buttons/ oa_buttons.module, line 37
Code
function oa_buttons_node_overrides(&$form, &$form_state, $form_id) {
$form['#attached']['js'][] = array(
'data' => drupal_get_path('module', 'oa_buttons') . '/oa_buttons.js',
'type' => 'file',
);
}