function opigno_scorm_form_alter in Opigno SCORM 8
Same name and namespace in other branches
- 3.x opigno_scorm.module \opigno_scorm_form_alter()
Implements hook_form_alter().
File
- ./
opigno_scorm.module, line 322 - Module functionality implementation.
Code
function opigno_scorm_form_alter(&$form, FormStateInterface $form_state, $form_id) {
if ($form_id === 'opigno_answer_opigno_scorm_form') {
$form['actions']['submit']['#submit'][] = '_opigno_scorm_form_submit';
}
}