block_content.add.html.twig
Same filename in other branches
--- label: 'Creating a content block' related: - block.overview - block.configure - block.place - block_content.type --- {% set library_link_text %}{% trans %}Content blocks{% endtrans %}{% endset %} {% set library_link = render_var(help_route_link(library_link_text, 'entity.block_content.collection')) %} <h2>{% trans %}Goal{% endtrans %}</h2> <p>{% trans %}Create a content block, which can later be placed on the site.{% endtrans %}</p> <h2>{% trans %}Steps{% endtrans %}</h2> <ol> <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Content</em>.{% endtrans %}</li> <li>{% trans %}Open the {{ library_link }} tab.{% endtrans %}</li> <li>{% trans %}Click <em>Add content block</em>. If you have more than one block type defined on your site, click the name of the type you want to create.{% endtrans %}</li> <li>{% trans %}Enter a description of your block (to be shown to administrators) and the body text for your block.{% endtrans %}</li> <li>{% trans %}Click <em>Save</em>.{% endtrans %}</li> </ol>
File
-
core/
modules/ block_content/ help_topics/ block_content.add.html.twig
View source
- ---
- label: 'Creating a content block'
- related:
- - block.overview
- - block.configure
- - block.place
- - block_content.type
- ---
- {% set library_link_text %}{% trans %}Content blocks{% endtrans %}{% endset %}
- {% set library_link = render_var(help_route_link(library_link_text, 'entity.block_content.collection')) %}
- <h2>{% trans %}Goal{% endtrans %}</h2>
- <p>{% trans %}Create a content block, which can later be placed on the site.{% endtrans %}</p>
- <h2>{% trans %}Steps{% endtrans %}</h2>
- <ol>
- <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Content</em>.{% endtrans %}</li>
- <li>{% trans %}Open the {{ library_link }} tab.{% endtrans %}</li>
- <li>{% trans %}Click <em>Add content block</em>. If you have more than one block type defined on your site, click the name of the type you want to create.{% endtrans %}</li>
- <li>{% trans %}Enter a description of your block (to be shown to administrators) and the body text for your block.{% endtrans %}</li>
- <li>{% trans %}Click <em>Save</em>.{% endtrans %}</li>
- </ol>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.