Commit 8b90bf1e authored by webchick's avatar webchick

Issue #1974628 by amateescu: Fixed Don't call t() on the field and widget...

Issue #1974628 by amateescu: Fixed Don't call t() on the field and widget label in FieldOverview::buildForm().
parent 3999722c
......@@ -131,13 +131,13 @@ public function buildForm(array $form, array &$form_state) {
),
'type' => array(
'#type' => 'link',
'#title' => t($field_types[$field['type']]['label']),
'#title' => $field_types[$field['type']]['label'],
'#href' => $admin_field_path . '/field-settings',
'#options' => array('attributes' => array('title' => t('Edit field settings.'))),
),
'widget_type' => array(
'#type' => 'link',
'#title' => t($widget_types[$instance['widget']['type']]['label']),
'#title' => $widget_types[$instance['widget']['type']]['label'],
'#href' => $admin_field_path . '/widget-type',
'#options' => array('attributes' => array('title' => t('Change widget type.'))),
),
......
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