function beautytips_manager_delete_style_confirm_form in BeautyTips 7.2
Confirm form for deleting a custom beautytip style.
1 string reference to 'beautytips_manager_delete_style_confirm_form'
- beautytips_manager_delete_style_page in ./
beautytips_manager.admin.inc - Page callback for style deletion form.
File
- ./
beautytips_manager.admin.inc, line 527 - Administration pages and forms for beautytips manager.
Code
function beautytips_manager_delete_style_confirm_form($form, &$form_state, $id) {
$style = beautytips_manager_get_custom_style($id);
$form['id'] = [
'#type' => 'value',
'#value' => $id,
];
$question = t('Are you sure you want to the beautytip stlye %style?', [
'%style' => $style->name,
]);
return confirm_form($form, $question, 'admin/config/user-interface/beautytips/custom-styles');
}