function rb_misc_action_set_node_creation_time_form in Rules Bonus Pack 6
Configuration form for 'rb_misc_action_set_node_creation_time'.
File
- ./
rb_misc.module, line 478 - Miscellaneous conditions and actions for Rules.
Code
function rb_misc_action_set_node_creation_time_form($settings, &$form) {
$form['settings']['time'] = array(
'#type' => 'textfield',
'#title' => t('Time value'),
'#default_value' => $settings['time'],
'#description' => t('Enter any time expression parsable for PHP strtotime().
Leave this field empty to use the current time.'),
);
}