Active
Project:
Link
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2012 at 00:57 UTC
Updated:
1 May 2014 at 20:43 UTC
Jump to comment: Most recent
To reproduce:
entity_translation)So it displays the "Link Title" field when translating a source node.
The help text reads (note the missing count because it wasn't set at all):
The link title is limited to characters maximum.
Comments
Comment #1
petros commentedI fixed it by going to link.module file
and at line 636 I replaced this
$instance = field_widget_instance($element, $form_state);with this
$instance = field_info_instance($element["#entity_type"], $element['#field_name'], $element['#bundle']);I dont know if there are any side effects with it..
Comment #1.0
petros commentedtypo
Comment #2
gcassie commentedSame behavior if you use field_info_instances() to get information about how the field is used on an entity bundle such as a content type - even if the title field is set not to display for that bundle, it shows up anyway after retrieving the field and using it another form.
The change suggested above seems to fix the behavior so the title options are respected.