Same name in other branches
  1. 7.x-3.x quicktabs.module \quicktabs_delete()

Deletes a quicktab instance.

1 call to quicktabs_delete()
quicktabs_block_delete_submit in ./quicktabs.admin.inc
Submit handler for quicktab block deletion.

File

./quicktabs.module, line 267

Code

function quicktabs_delete($machine_name) {
    db_query('DELETE FROM {quicktabs} WHERE machine_name = :machine_name', array(
        ':machine_name' => $machine_name,
    ));
    \Drupal::moduleHandler()->invokeAll('quicktabs_delete', $machine_name);
}