function _entityreference_field_instance_settings_form in Entity reference 7
Implements hook_field_settings_form().
1 string reference to '_entityreference_field_instance_settings_form'
File
- ./
entityreference.module, line 592 - Entityreference primary module file.
Code
function _entityreference_field_instance_settings_form($form, $form_state) {
$field = isset($form_state['entityreference']['field']) ? $form_state['entityreference']['field'] : $form['#field'];
$instance = isset($form_state['entityreference']['instance']) ? $form_state['entityreference']['instance'] : $form['#instance'];
_entityreference_get_behavior_elements($form, $field, $instance, 'instance');
if (!empty($form['behaviors'])) {
$form['behaviors'] += array(
'#type' => 'fieldset',
'#title' => t('Additional behaviors'),
'#process' => array(
'_entityreference_field_settings_ajax_process',
),
);
}
return $form;
}