description.html.twig

Contains the text of the pager_example explanation page

File

modules/pager_example/templates/description.html.twig

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