description.html.twig
Contains the text of the pager_example explanation page
File
-
modules/
pager_example/ templates/ description.html.twig
View source
- {#
- /**
- * @file
- * Contains the text of the pager_example explanation page
- */
- #}
-
- <div class='examples-description'>
- {% trans %}
- <p>The Pager Example shows you how to create a paginated table. It uses
- an Entity Query to retrieve nodes and the query checks that
- the user has access to the nodes. You may test the access checking
- feature by unpublishing some of your nodes and then viewing the
- example as a user that is not allowed to see unpublished content.</p>
- <p>In order to see this in action, make sure there are some nodes present in
- your site. You can use the
- <a href="https://www.drupal.org/project/devel">devel</a> module to add
- some if needed, or just create them.</p>
- <p>The table on this page will show you two nodes per page.</p>
- {% endtrans %}
- </div>