You are here

function ckeditor_htmlbuttons_delete_button in CKEditor HTML Buttons (for WYSIWYG and CKEditor) 7

CKEditor HTML Buttons database delete function.

Parameters

string $name: Button name.

2 calls to ckeditor_htmlbuttons_delete_button()
ckeditor_htmlbuttons_button_form_submit in ./ckeditor_htmlbuttons.admin.inc
CKEditor HTML Buttons form submit - delete and save handlers.
ckeditor_htmlbuttons_delete_confirm_submit in ./ckeditor_htmlbuttons.admin.inc
Execute node deletion.

File

./ckeditor_htmlbuttons.module, line 180
Basic module file for CKEditor HTML Buttons.

Code

function ckeditor_htmlbuttons_delete_button($name) {
  db_query('DELETE FROM {ckeditor_htmlbuttons} WHERE name = :name', array(
    ':name' => $name,
  ));
}