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

Clone QuickTabs.

Fichier

./quicktabs.admin.inc, line 13

Code

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