{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {# NEXT_MAJOR: move inline parameter under options #} {% macro render_array(value, inline, options = []) %} {% set options = { 'key_translation_domain': false, 'value_translation_domain': false, 'display': 'both' }|merge(options) %} {%- apply spaceless -%} {%- from _self import render_array -%} {%- if not inline -%} {%- else -%} ] {%- endif -%} {%- endapply -%} {% endmacro %}