Same name in other branches
  1. 7.x-3.x quicktabs.admin.inc \quicktabs_clone()
  2. 8.x-1.x quicktabs.admin.inc \quicktabs_clone()

Clone QuickTabs.

1 string reference to 'quicktabs_clone'
quicktabs_menu in ./quicktabs.module
Implements hook_menu().

File

includes/admin.inc, line 145

Code

function quicktabs_clone($quicktab) {
    unset($quicktab->machine_name);
    $quicktab->title = '';
    return drupal_get_form('quicktabs_form', 'clone', $quicktab);
}