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