function oauth_common_form_consumer_delete in OAuth 1.0 6.3
Same name and namespace in other branches
- 7.4 oauth_common.consumers.inc \oauth_common_form_consumer_delete()
- 7.3 oauth_common.consumers.inc \oauth_common_form_consumer_delete()
Consumer deletion form.
1 string reference to 'oauth_common_form_consumer_delete'
- oauth_common_providerui_menu in ./
oauth_common_providerui.module - Implementation of hook_menu().
File
- ./
oauth_common.consumers.inc, line 211
Code
function oauth_common_form_consumer_delete($form_state, $consumer) {
$form = array(
'consumer_object' => array(
'#type' => 'value',
'#value' => $consumer,
),
'confirm' => array(
'#type' => 'item',
'#value' => t('Are you sure you want to delete application <strong>@a</strong>?', array(
'@a' => $consumer->name,
)),
),
'delete' => array(
'#type' => 'submit',
'#title' => t('Delete'),
'#default_value' => t('Delete'),
),
);
return $form;
}