description.html.twig

{#

Description text for the Block Example.

#}

{% set block_admin_page = url('block.admin_display')['#markup'] %}

{% trans %}

<p>The Block Example provides three sample blocks which demonstrate the various
  block APIs. To experiment with the blocks, enable and configure them on
  <a href="{{ block_admin_page }}">the block admin page</a>.</p>

{% endtrans %}

File

modules/block_example/templates/description.html.twig

View source
  1. {#
  2. Description text for the Block Example.
  3. #}
  4. {% set block_admin_page = url('block.admin_display')['#markup'] %}
  5. {% trans %}
  6. <p>The Block Example provides three sample blocks which demonstrate the various
  7. block APIs. To experiment with the blocks, enable and configure them on
  8. <a href="{{ block_admin_page }}">the block admin page</a>.</p>
  9. {% endtrans %}