Chris@3: {# Chris@3: /** Chris@3: * @file Chris@3: * Default theme implementation to display a block. Chris@3: * Chris@3: * Available variables: Chris@3: * - plugin_id: The ID of the block implementation. Chris@3: * - label: The configured label of the block if visible. Chris@3: * - configuration: A list of the block's configuration values. Chris@3: * - label: The configured label for the block. Chris@3: * - label_display: The display settings for the label. Chris@3: * - provider: The module or other provider that provided this block plugin. Chris@3: * - Block plugin specific settings will also be stored here. Chris@3: * - content: The content of this block. Chris@3: * - attributes: array of HTML attributes populated by modules, intended to Chris@3: * be added to the main container tag of this template. Chris@3: * - id: A valid HTML ID and guaranteed unique. Chris@3: * - title_attributes: Same as attributes, except applied to the main title Chris@3: * tag that appears in the template. Chris@3: * - content_attributes: Same as attributes, except applied to the main content Chris@3: * tag that appears in the template. Chris@3: * - title_prefix: Additional output populated by modules, intended to be Chris@3: * displayed in front of the main title tag that appears in the template. Chris@3: * - title_suffix: Additional output populated by modules, intended to be Chris@3: * displayed after the main title tag that appears in the template. Chris@3: * Chris@3: * @see template_preprocess_block() Chris@3: * Chris@3: * @ingroup themeable Chris@3: */ Chris@3: #} Chris@3: {% Chris@3: set classes = [ Chris@3: 'block', Chris@3: 'block-' ~ configuration.provider|clean_class, Chris@3: 'block-' ~ plugin_id|clean_class, Chris@3: ] Chris@3: %} Chris@3: Chris@3: {{ title_prefix }} Chris@3: {% if label %} Chris@3: {{ label }} Chris@3: {% endif %} Chris@3: {{ title_suffix }} Chris@3: {% block content %} Chris@3: Chris@3: {{ content }} Chris@3: Chris@3: {% endblock %} Chris@3: