Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

twig lower case and string replace

{% set hid = paragraph.field_usa_card_header_id.value|lower|replace({' ': '-'}) %}
Source by bitbucket.org #
 
PREVIOUS NEXT
Tagged: #twig #case #string #replace
ADD COMMENT
Topic
Name
1+7 =