Closed (works as designed)
Project:
Commerce Core
Version:
7.x-1.5
Component:
Product
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2013 at 14:11 UTC
Updated:
27 Feb 2013 at 16:50 UTC
This function attached labels in #markup which makes it hard to alter these fields in a natural way, and it makes it really hard to figure out where the label is set and how to alter it. This way of attaching labels to fields is unnecessarily convoluted and complicated.
Comments
Comment #1
rszrama commentedThey're theme functions - overriding them is the natural way to edit them. I'm not sure what more we could do. For reference, you can look in node_build_content() where it uses a theme function in a #markup element to put in the node links.