Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field_ui.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Dec 2013 at 21:31 UTC
Updated:
29 Jul 2014 at 23:10 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
jibranHere is the other approach approved by @dawehner.
New After
Comment #2
amateescu commentedIs there a reason for using the FieldUi class instead of the class that displays the form (FieldInstanceEditForm)?
Comment #3
jibranIt is just a static code we can move it around if the approach is fine we can move it to anyplace.
Comment #4
jibranComment #6
amateescu commentedThe approach seems fine :) Let's move it to a getTitle() method on FieldInstanceEditForm and also remove $form['#title'] from that form.
Comment #7
jibranMoved
\Drupal\field_ui\Form\FieldInstanceEditForm::getTitle. I don't think we should remove$form['#title']Before Removing
After Removing
Title is all messed up so I think we should keep it.
Comment #8
amateescu commentedSure, let's keep it then.
'_form' needs to be moved below "array(", on it's own row :)
Comment #9
jibranComment #10
amateescu commentedThanks!
Comment #12
jibranIt is a quick fix IMHO.
Comment #13
webchickCan we get a quick test for this?
Comment #14
jibranHere are some tests.
Comment #18
jibran14: 2147685-14.patch queued for re-testing.
Comment #19
amateescu commentedWe normally use present tense in test assertions, so how about 'Field label is correct in the breadcrumb of the field settings page.'
And 'Field label is correct in the breadcrumb of the field delete page.'
Comment #20
jibranFixed. But
In my defiance.
Comment #21
amateescu commentedI think those examples are fine as they are, but "was correct" sounds to me more like "it was correct at some point but it's not necessarily the case anymore". It's also probably just a matter of preference, so thanks for the quick update :)
Comment #22
webchickCommitted and pushed to 8.x. Thanks!