By mukhsim on
Hi all,
I am trying to convert queue module from 4.6 to 4.7
The problem I have is I am not able to convert the following code from 4.6 to 4.7.
I tried form updater at http://www.lullabot.com/formupdater, but it does not return anything.
Can anyone help me please?
Here is the code that needs to be converted from 4.6 to 4.7 (it is already run through Form Updater):
$output .= $form[] = array(
'#type' => 'item',
'#title' => t('Show comments'),
'#default_value' => form_checkbox(t('Enabled'), 'queue_show_comments', 1, variable_get('queue_show_comments', 1)),
'#description' => t('Tick the box to show comments below the moderation form.'),
);
Particularly, form_checkbox(....) is causing problem.
Delf.
Comments
Re:
BTW, corresponding original 4.6 code is this:
Delf.