function shareaholic_failure_modal_form_submit in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 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();
}