Skip to content
Snippets Groups Projects
Commit 20a0f40a authored by Angie Byron's avatar Angie Byron
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -167,11 +167,10 @@ function entity_reference_field_settings_form($field, $instance, $has_data) {
$form['target_type'] = array(
'#type' => 'select',
'#title' => t('Target type'),
'#title' => t('Type of item to reference'),
'#options' => $entity_type_options,
'#default_value' => $field['settings']['target_type'],
'#required' => TRUE,
'#description' => t('The entity type that can be referenced through this field.'),
'#disabled' => $has_data,
'#size' => 1,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment