You are here

function bueditor_delete_buttons in BUEditor 7

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

Delete buttons.

1 call to bueditor_delete_buttons()
bueditor_selaction_submit in admin/bueditor.admin.inc
Selected buttons actions form submission.

File

admin/bueditor.admin.inc, line 496

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.'));
  }
}