diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 1be33c425506e722b87ec14569a57d6750cd83e2..30b46c0e316f058116a20c512cfabab0261ff57f 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -1804,6 +1804,11 @@ function uw_cfg_common_field_widget_single_element_link_default_form_alter(array if ($field_definition->getName() == 'field_uw_event_host') { $element['uri']['#description'] .= ' ' . t('Enter <nolink> to display link text only.'); } + + // Set custom description only for timeline link field. + if ($field_definition->getName() == 'field_uw_timeline_link') { + $element['uri']['#description'] = t('Links the entire content to a URL. If entered, do not use links inside the content itself.') . ' ' . $element['uri']['#description']; + } } // Add link uri field element validation function.