{% set form = hookable_metadata.context.form %} {% if form.configuration is defined %} {% set attribute_type = form.vars.value.type %}