function shareaholic_apps_configuration_form in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 includes/shareaholic_apps_configuration_form.php \shareaholic_apps_configuration_form()
Returns the form to configure the shareaholic apps
1 string reference to 'shareaholic_apps_configuration_form'
File
- includes/
shareaholic_apps_configuration_form.php, line 13 - This file is responsible for the apps manager page (rendering/handling form)
Code
function shareaholic_apps_configuration_form() {
$form['#theme'] = 'shareaholic_apps_configuration';
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Save Changes'),
);
$form['submit']['#attributes']['class'][] = 'settings';
$form['submit']['#attributes']['onclick'] = 'this.value="' . t('Saving Changes...') . '"';
return $form;
}