function ffc_condition_form_hide_date_time in Field formatter conditions 7
Field formatter conditional form.
Present the hide date field.
File
- ./
ffc.ffc_conditions_info.inc, line 403 - Hook implementations and API functions for Field formatter settings.
Code
function ffc_condition_form_hide_date_time($context, $configuration) {
$form = array();
$form['field'] = array(
'#title' => t('Hide after'),
'#type' => 'radios',
'#options' => array(
'value' => t('from date has expired'),
'value2' => t('to date has expired'),
),
'#default_value' => isset($configuration['field']) ? $configuration['field'] : 'value',
);
return $form;
}