You are here

function bueditor_delete_buttons in BUEditor 6

Same name and namespace in other branches
  1. 6.2 admin/bueditor.admin.inc \bueditor_delete_buttons()
  2. 7 admin/bueditor.admin.inc \bueditor_delete_buttons()

Delete buttons.

1 call to bueditor_delete_buttons()
bueditor_selaction_submit in ./bueditor.admin.inc
Export or delete selected buttons.

File

./bueditor.admin.inc, line 388

Code

function bueditor_delete_buttons($bids = array()) {
  if (!empty($bids)) {
    foreach ($bids as $bid) {
      bueditor_delete_button($bid);
    }
    drupal_set_message(t('Selected buttons have been deleted.'));
  }
}