function oauth_common_form_consumer_secret_ajax_callback in OAuth 1.0 7.3
Same name and namespace in other branches
- 7.4 oauth_common.consumers.inc \oauth_common_form_consumer_secret_ajax_callback()
AJAX callback for showing secrets
Return value
void
1 string reference to 'oauth_common_form_consumer_secret_ajax_callback'
- oauth_common_form_consumer in ./
oauth_common.consumers.inc - The consumer form that is shared by the add and edit page.
File
- ./
oauth_common.consumers.inc, line 179
Code
function oauth_common_form_consumer_secret_ajax_callback($form, $form_state) {
$form['secret']['#markup'] = $form_state['values']['consumer_object']->secret;
$form['secret']['#prefix'] = '';
return $form['secret'];
}