Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292900

Don't call t() on the field and widget label in FieldOverview::buildForm()

$
0
0

Coming from @yched's comment in #1875992-56: Add EntityFormDisplay objects for entity forms:

FieldOverview::buildForm()

-          '#title' => t($widget_types[$instance['widget']['type']]['label']),
+          '#title' => t($widget_types[$widget_configuration['type']]['label']),

Ouch. Care to open an issue to remove that t() ? (there's another one for the $field['type'] 3 lines above)

Viewing all articles
Browse latest Browse all 292900

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>