Skip to content

Commit

Permalink
Issue backdrop-contrib#159. Replace tokens in field's description/hel…
Browse files Browse the repository at this point in the history
…p text
  • Loading branch information
argiepiano committed Aug 8, 2023
1 parent 6f191fe commit 0547561
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 0547561

Please sign in to comment.