Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
/**
* Convert an item to an 'exportable'.
*/
function backup_migrate_ui_export_form($form, &$form_state, $item) {
if ($item && function_exists('ctools_var_export')) {
$code = ctools_var_export($item);
$form = ctools_export_form($form_state, $code); // EXPECTED 3 ARGUMENTS, FOUND 2.
return $form;
}
return array();
}
Comment | File | Size | Author |
---|---|---|---|
backup_migrate-missing-ctools-parameter.patch | 565 bytes | solideogloria | |
Comments
Comment #2
solideogloria CreditAttribution: solideogloria commentedPHP Intelliphense is so helpful to find stuff like this.
Comment #4
solideogloria CreditAttribution: solideogloria commentedNo idea what the testing failure means...
Comment #5
DamienMcKennaThe test failure means that the testbot failed and needed to be ran again. I've set it to run against PHP 7.3, we'll see what it says this time.
Comment #7
solideogloria CreditAttribution: solideogloria commentedI mean that I don't know what to do with the failure information, because all I did was fix an incorrect usage of a function.
Comment #8
DamienMcKennaI understand, usually when that error happens it means that the test just needs to be re-ran. That didn't happen this time, so I'm trying one last time before I dig into it more.
Comment #10
DamienMcKennaCommitted. Thank you!