block.place.html.twig in Drupal 8
---
label: 'Placing a block'
related:
- block.overview
- block.configure
---
{% set layout_url = render_var(url('block.admin_display')) %}
{% set configure = render_var(url('help.help_topic', {'id': 'block.configure'})) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Place a block into a theme's region. {% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
<li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> > <a href="{{ layout_url }}"><em>Block layout</em></a>.{% endtrans %}</li>
<li>{% trans %}Click the name of the theme that you want to place the block in.{% endtrans %}</li>
<li>{% trans %}Optionally, click <em>Demonstrate block regions</em> to see the regions of the theme.{% endtrans %}</li>
<li>{% trans %}Find the region where you want the block, and click <em>Place block</em> in that region. A modal dialog will pop up.{% endtrans %}</li>
<li>{% trans %}Find the block you want to place and click <em>Place block</em>. A <em>Configure block</em> modal dialog will pop up.{% endtrans %}</li>
<li>{% trans %}Configure the block and click <em>Save block</em>; see <a href="{{ configure }}">Configuring a previously-placed block</a> for configuration details.{% endtrans %}</li>
</ol>
File
core/modules/help_topics/help_topics/block.place.html.twig
View source
- ---
- label: 'Placing a block'
- related:
- - block.overview
- - block.configure
- ---
- {% set layout_url = render_var(url('block.admin_display')) %}
- {% set configure = render_var(url('help.help_topic', {'id': 'block.configure'})) %}
- <h2>{% trans %}Goal{% endtrans %}</h2>
- <p>{% trans %}Place a block into a theme's region. {% endtrans %}</p>
- <h2>{% trans %}Steps{% endtrans %}</h2>
- <ol>
- <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> > <a href="{{ layout_url }}"><em>Block layout</em></a>.{% endtrans %}</li>
- <li>{% trans %}Click the name of the theme that you want to place the block in.{% endtrans %}</li>
- <li>{% trans %}Optionally, click <em>Demonstrate block regions</em> to see the regions of the theme.{% endtrans %}</li>
- <li>{% trans %}Find the region where you want the block, and click <em>Place block</em> in that region. A modal dialog will pop up.{% endtrans %}</li>
- <li>{% trans %}Find the block you want to place and click <em>Place block</em>. A <em>Configure block</em> modal dialog will pop up.{% endtrans %}</li>
- <li>{% trans %}Configure the block and click <em>Save block</em>; see <a href="{{ configure }}">Configuring a previously-placed block</a> for configuration details.{% endtrans %}</li>
- </ol>