From 0547561196fc3429d82e47d923468ac92977f44f Mon Sep 17 00:00:00 2001 From: argiepiano Date: Tue, 8 Aug 2023 08:28:50 -0600 Subject: [PATCH] Issue #159. Replace tokens in field's description/help text --- paragraphs.field_widget.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paragraphs.field_widget.inc b/paragraphs.field_widget.inc index 879124e..d384028 100644 --- a/paragraphs.field_widget.inc +++ b/paragraphs.field_widget.inc @@ -60,7 +60,7 @@ function paragraphs_field_multiple_value_form($field, $instance, $langcode, $ite $max = $field_state['items_count'] - 1; $title = check_plain($instance['label']); - $description = field_filter_xss($instance['description']); + $description = field_filter_xss(token_replace($instance['description'])); $id_prefix = implode('-', array_merge($parents, array($field_name))); $wrapper_id = backdrop_html_id($id_prefix . '-add-more-wrapper');