Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

drupal 8 webform insert node twig value

{# Display form #}
{{ { '#type': 'webform', '#webform': 'contact' } }}

{# Prepopulate form #}
{{ { '#type': 'webform', '#webform': 'contact', '#default_data': {'subject': 'Please call me back' } } }}
Source by www.drupal.org #
 
PREVIOUS NEXT
Tagged: #drupal #webform #insert #node #twig
ADD COMMENT
Topic
Name
2+3 =