function mb_comment_reset in More Buttons 7
Menu callback to define the confirm form output.
Return value
The confirm form.
1 string reference to 'mb_comment_reset'
- mb_comment_menu in mb_comment/
mb_comment.module - Implements hook_menu().
File
- mb_comment/
mb_comment.admin.inc, line 150
Code
function mb_comment_reset() {
$question = t('Are you sure you want to reset all %module settings?', array(
'%module' => t('More Buttons Comment'),
));
$information = '<p>' . t('This action disables the settings for all buttons. This action cannot be undone.') . '</p>';
return confirm_form(array(), $question, array(
'path' => 'admin/config/mb/buttons/more-buttons-comment',
'attributes' => array(
'class' => 'button',
),
), $information, t('Reset'), t('Cancel'));
}