function social_album_form_node_album_form_alter in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_album/social_album.module \social_album_form_node_album_form_alter()
- 10.0.x modules/social_features/social_album/social_album.module \social_album_form_node_album_form_alter()
- 10.1.x modules/social_features/social_album/social_album.module \social_album_form_node_album_form_alter()
Implements hook_form_FORM_ID_alter().
File
- modules/
social_features/ social_album/ social_album.module, line 378 - The Social Album module.
Code
function social_album_form_node_album_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$form['actions']['submit']['#submit'][] = '_social_album_create_post';
}