Commit eae4c336 authored by webchick's avatar webchick
Browse files

#664380 by Bojhan: Remove unnecessary descriptions form Field UI.

parent 5cdeb4b4
......@@ -1071,14 +1071,12 @@ function field_ui_field_edit_form($form, &$form_state, $obj_type, $bundle, $inst
'#title' => t('Label'),
'#default_value' => !empty($instance['label']) ? $instance['label'] : $field['field_name'],
'#required' => TRUE,
'#description' => t('The human-readable label for this field.'),
'#weight' => -20,
);
$form['instance']['required'] = array(
'#type' => 'checkbox',
'#title' => t('Required'),
'#title' => t('Required field'),
'#default_value' => !empty($instance['required']),
'#description' => t('Check if a value must be provided.'),
'#weight' => -10,
);
......
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