In order to use variables, you have to define them somewhere. It can be the module itself or an external file(recommended if you want to reuse variables in different places).
Here's an example:
{% set my_variable = "Hello World" %} {# Module specific variable #}
{% import 'PATH-TO-VARIABLES-FILE.html' %} {# Importing a file from outside the module #}
{{ module.text_field }}
In order to use variables, you have to define them somewhere. It can be the module itself or an external file(recommended if you want to reuse variables in different places).
Here's an example:
{% set my_variable = "Hello World" %} {# Module specific variable #}
{% import 'PATH-TO-VARIABLES-FILE.html' %} {# Importing a file from outside the module #}
{{ module.text_field }}