You are here

function fe_block_machine_name_delete in Features Extra 7

Same name and namespace in other branches
  1. 6 fe_block.module \fe_block_machine_name_delete()

Delete machine name.

1 string reference to 'fe_block_machine_name_delete'
fe_block_form_alter in fe_block/fe_block.module
Implements hook_form_alter().

File

fe_block/fe_block.module, line 974
Provide features components for exporting core blocks and settings.

Code

function fe_block_machine_name_delete($form, &$form_state) {
  $table = 'fe_block_boxes';
  db_delete($table)
    ->condition('bid', $form_state['values']['bid']);
}