in function quicktabs_export_form()
// Generate export code
$code = '$items = array();' ."\n";
$code .= ctools_export_object('quicktabs', $qt, '');
$code .= '$items["'. $qt->machine_name .'"] = $quicktabs;' ."\n";
$code .= 'return $items;';
should be just:
// Generate export code
$code = ctools_export_object('quicktabs', $qt, '');
Why:
- views module does the same, it only makes the export code of 1 view, not an array of views.
- array of quicktabs can be generated with ctools bulk_export
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | remove_the_items_array_from_export-1379034-3.patch | 951 bytes | barbi |
Comments
Comment #1
pasqualle.
Comment #2
barbi commentedComment #3
barbi commentedComment #4
valthebaldComment #5
ultimateboy commentedThanks. Committed to 7.x-3.x