Commit 20a0f40a authored by webchick's avatar webchick
Browse files

Issue #1953832 by xjm, David_Rothstein: Replace 'target type' on entity...

Issue #1953832 by xjm, David_Rothstein: Replace 'target type' on entity reference field settings with something clearer.
parent 46284d2e
...@@ -167,11 +167,10 @@ function entity_reference_field_settings_form($field, $instance, $has_data) { ...@@ -167,11 +167,10 @@ function entity_reference_field_settings_form($field, $instance, $has_data) {
$form['target_type'] = array( $form['target_type'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Target type'), '#title' => t('Type of item to reference'),
'#options' => $entity_type_options, '#options' => $entity_type_options,
'#default_value' => $field['settings']['target_type'], '#default_value' => $field['settings']['target_type'],
'#required' => TRUE, '#required' => TRUE,
'#description' => t('The entity type that can be referenced through this field.'),
'#disabled' => $has_data, '#disabled' => $has_data,
'#size' => 1, '#size' => 1,
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment