Commit c1bc5f5a authored by catch's avatar catch

Issue #1876134 by YesCT: 'has no field settings' does not make sense...

Issue #1876134 by YesCT: 'has no field settings' does not make sense (follow-up to Adding new fields leads to a confusing ;Field settings; form).
parent efe0024e
......@@ -582,11 +582,6 @@ function field_ui_field_settings_form($form, &$form_state, $instance) {
if (is_array($additions)) {
$form['field']['settings'] += $additions;
}
if (!element_children($form['field']['settings'])) {
$form['field']['settings'] += array(
'#markup' => t('%field has no field settings.', array('%field' => $instance['label'])),
);
}
$form['actions'] = array('#type' => 'actions');
$form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Save field settings'));
......
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