You are here

function tweet_feed_delete_account_form in Tweet Feed 7.3

Same name and namespace in other branches
  1. 7.2 tweet_feed_admin.inc \tweet_feed_delete_account_form()

The confirm dialog for deleting a users api account credentials

1 string reference to 'tweet_feed_delete_account_form'
tweet_feed_menu in ./tweet_feed.module
Implements hook_menu().

File

./tweet_feed_admin.inc, line 590

Code

function tweet_feed_delete_account_form($form, &$form_state, $aid) {
  $form['aid'] = array(
    '#type' => 'hidden',
    '#value' => $aid,
  );
  return confirm_form($form, t('Are you sure that you wish to delete this account?'), 'admin/config/services/tweet_feed/accounts', t('There is no way to undo this action once it has been taken. Consider that carefully before proceeding.'), t('Delete Account'), t('Cancel'));
}