function entityreference_field_diff_options_form in Entity reference 7
Provide a form for setting the field comparison options.
File
- ./
entityreference.diff.inc, line 82 - Provide Diff module field callbacks for the Entity Reference module.
Code
function entityreference_field_diff_options_form($field_type, $settings) {
$options_form = array();
$options_form['show_id'] = array(
'#type' => 'checkbox',
'#title' => t('Show ID'),
'#default_value' => $settings['show_id'],
);
return $options_form;
}