You are here

expand-collapse-formatter.html.twig in Expand collapse formatter 8

<div id="{{ id }}" class="expand-collapse" data-trim-length="{{ trim_length }}" data-default-state="{{ default_state }}"
     data-link-text-open="{{ link_text_open|t }}" data-link-text-close="{{ link_text_close|t }}"
     data-link-class-open="{{ link_class_open }}" data-link-class-close="{{ link_class_close }}">
    <div class="ec-content">
        {{ value }}
    </div>
</div>

File

templates/expand-collapse-formatter.html.twig
View source
  1. <div id="{{ id }}" class="expand-collapse" data-trim-length="{{ trim_length }}" data-default-state="{{ default_state }}"
  2. data-link-text-open="{{ link_text_open|t }}" data-link-text-close="{{ link_text_close|t }}"
  3. data-link-class-open="{{ link_class_open }}" data-link-class-close="{{ link_class_close }}">
  4. <div class="ec-content">
  5. {{ value }}
  6. </div>
  7. </div>