views_ui.create.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/help_topics/views_ui.create.html.twig
  2. 11.x core/modules/views_ui/help_topics/views_ui.create.html.twig
---
label: 'Creating a new view'
related:
  - views.overview
  - views_ui.edit
  - views_ui.add_display
---
{% set views_link_text %}{% trans %}Views{% endtrans %}{% endset %}
{% set views_link = render_var(help_route_link(views_link_text, 'entity.view.collection')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Create a new view to list content or other items on your site.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>{{ views_link }}</em>.{% endtrans %}</li>
  <li>{% trans %}Click <em>Add view</em>.{% endtrans %}</li>
  <li>{% trans %}In the <em>View name</em> field, enter a name for the view, which is how it will be listed in the administrative interface.{% endtrans %}</li>
  <li>{% trans %}In <em>View settings</em> &gt; <em>Show</em>, select the base data type to display in your view. This cannot be changed later.{% endtrans %}</li>
  <li>{% trans %}Optionally, select or enter filtering, sorting, and page/block display settings; these can be added or changed later.{% endtrans %}</li>
  <li>{% trans %}Click <em>Save and edit</em>. Your view will be created; edit it following the steps in the related topics below.{% endtrans %}</li>
</ol>

File

core/modules/views_ui/help_topics/views_ui.create.html.twig

View source
  1. ---
  2. label: 'Creating a new view'
  3. related:
  4. - views.overview
  5. - views_ui.edit
  6. - views_ui.add_display
  7. ---
  8. {% set views_link_text %}{% trans %}Views{% endtrans %}{% endset %}
  9. {% set views_link = render_var(help_route_link(views_link_text, 'entity.view.collection')) %}
  10. <h2>{% trans %}Goal{% endtrans %}</h2>
  11. <p>{% trans %}Create a new view to list content or other items on your site.{% endtrans %}</p>
  12. <h2>{% trans %}Steps{% endtrans %}</h2>
  13. <ol>
  14. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>{{ views_link }}</em>.{% endtrans %}</li>
  15. <li>{% trans %}Click <em>Add view</em>.{% endtrans %}</li>
  16. <li>{% trans %}In the <em>View name</em> field, enter a name for the view, which is how it will be listed in the administrative interface.{% endtrans %}</li>
  17. <li>{% trans %}In <em>View settings</em> &gt; <em>Show</em>, select the base data type to display in your view. This cannot be changed later.{% endtrans %}</li>
  18. <li>{% trans %}Optionally, select or enter filtering, sorting, and page/block display settings; these can be added or changed later.{% endtrans %}</li>
  19. <li>{% trans %}Click <em>Save and edit</em>. Your view will be created; edit it following the steps in the related topics below.{% endtrans %}</li>
  20. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.