function varbase_update_helper_form_checklistapi_checklist_form_alter in Varbase Core 8.8
Same name and namespace in other branches
- 8.6 modules/varbase_update_helper/varbase_update_helper.module \varbase_update_helper_form_checklistapi_checklist_form_alter()
- 8.7 modules/varbase_update_helper/varbase_update_helper.module \varbase_update_helper_form_checklistapi_checklist_form_alter()
- 9.0.x modules/varbase_update_helper/varbase_update_helper.module \varbase_update_helper_form_checklistapi_checklist_form_alter()
Implements hook_form_FORM_ID_alter().
File
- modules/
varbase_update_helper/ varbase_update_helper.module, line 124 - Contains varbase_update_helper.module.
Code
function varbase_update_helper_form_checklistapi_checklist_form_alter(&$form, &$form_state) {
if ($form['#checklist']->id == 'update_helper_checklist') {
$form['#attached']['library'][] = 'varbase_update_helper/varbase_update_helper';
}
}