function entityreference_field_instance_settings_form in Entity reference 7
Implements hook_field_instance_settings_form().
File
- ./
entityreference.module, line 568 - Entityreference primary module file.
Code
function entityreference_field_instance_settings_form($field, $instance) {
$form['settings'] = array(
'#type' => 'container',
'#attached' => array(
'css' => array(
drupal_get_path('module', 'entityreference') . '/entityreference.admin.css',
),
),
'#weight' => 10,
'#tree' => TRUE,
'#process' => array(
'_entityreference_form_process_merge_parent',
'_entityreference_field_instance_settings_form',
'_entityreference_field_settings_ajax_process',
),
'#element_validate' => array(
'_entityreference_field_instance_settings_validate',
),
'#field' => $field,
'#instance' => $instance,
);
return $form;
}