Commit e47a0819 authored by webchick's avatar webchick

Issue #2056991 by alexpott: Use getFieldSetting() instead of...

Issue #2056991 by alexpott: Use getFieldSetting() instead of getDefinition()->getFieldSetting() in LinkItem.
parent dc5e3349
......@@ -94,7 +94,7 @@ public function instanceSettingsForm(array $form, array &$form_state) {
$element['title'] = array(
'#type' => 'radios',
'#title' => t('Allow link text'),
'#default_value' => $this->getFieldDefinition()->getFieldSetting('title'),
'#default_value' => $this->getFieldSetting('title'),
'#options' => array(
DRUPAL_DISABLED => t('Disabled'),
DRUPAL_OPTIONAL => t('Optional'),
......
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