Skip to content

Commit

Permalink
Issue #159: Replace tokens in field's description text.
Browse files Browse the repository at this point in the history
Fixes #159.
  • Loading branch information
argiepiano committed Aug 16, 2023
1 parent 2c9997e commit b7f3f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paragraphs.field_widget.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b7f3f97

Please sign in to comment.