1 entityreference.module entityreference_field_instance_settings_form($field, $instance)

Implements hook_field_instance_settings_form().

File

core/modules/entityreference/entityreference.module, line 517
Entityreference primary module file.

Code

function entityreference_field_instance_settings_form($field, $instance) {
  $form['settings'] = array(
    '#type' => 'container',
    '#attached' => array(
      'css' => array(backdrop_get_path('module', 'entityreference') . '/css/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;
}