You are here

function command_buttons_delete in Command Buttons 7

Delete a button.

Parameters

$bid: A command button ID.

2 calls to command_buttons_delete()
command_buttons_entity_delete_form_submit in ./command_buttons.admin.inc
Execute node deletion
command_buttons_node_type_delete in ./command_buttons.module
Implements hook_node_type_delete().

File

./command_buttons.module, line 433

Code

function command_buttons_delete($bid) {
  command_buttons_delete_multiple(array(
    $bid,
  ));
}