diff --git a/uw_cfg_common.module b/uw_cfg_common.module index d9847a0e72d53eb2bd6ef04435e508d4c7cbcf62..a0cabd3ab0d7e217d1d2746146408ef1db5124a1 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -1817,7 +1817,7 @@ function uw_cfg_common_field_widget_single_element_link_default_form_alter(array if ($field_definition->getName() == 'field_uw_event_map') { $element['uri']['#description'] = t('Optional: provide a link to a map with the event location (e.g. https://uwaterloo.ca/map/). This must be an external URL such as https://example.com.'); } - else { + elseif ($field_definition->getName() != 'field_gmaps_embedded_url') { // Set custom description for all link fields except event map. $element['uri']['#description'] = t('Start typing the title of a piece of content to select it. You can also enter an internal path such as /blog or an external URL such as https://example.com. Enter <front> to link to the front page.');