{# /** * @file * Theme override to display a block. */ #} {% set classes = [ 'block', 'feature-block', 'block-' ~ configuration.provider|clean_class, 'block-' ~ plugin_id|clean_class, ] %} {% if content.field_media_format['#items'].getValue()|first.value == "video-popup" %} {{ attach_library('martis/colorbox') }} {% endif %}