function opigno_h5p_form_alter in Opigno module 8
Same name and namespace in other branches
- 3.x ActivityTypes/opigno_h5p/opigno_h5p.module \opigno_h5p_form_alter()
Implements hook_form_alter().
File
- ActivityTypes/
opigno_h5p/ opigno_h5p.module, line 27 - Module main functionality.
Code
function opigno_h5p_form_alter(&$form, FormStateInterface $form_state, $form_id) {
if ($form_id === 'opigno_answer_opigno_h5p_form') {
$form['actions']['submit']['#submit'][] = '_opigno_h5_form_submit';
}
}