function shareaholic_failure_modal_form_submit in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3
Same name and namespace in other branches
- 8 includes/shareaholic_failure_modal.php \shareaholic_failure_modal_form_submit()
Submit handler for the shareaholic_failure_modal When submitted, try to create an api key for the user
File
- includes/
shareaholic_failure_modal.php, line 38 - This file is responsible for the failure modal popup (rendering/and handling submit)
Code
function shareaholic_failure_modal_form_submit($form, &$form_state) {
ShareaholicUtilities::get_or_create_api_key();
}