You are here

html--entity-browser--bootstrap4-modal--iframe.html.twig in Bootstrap 4 Modal 2.x

Same filename and directory in other branches
  1. 8 templates/html--entity-browser--bootstrap4-modal--iframe.html.twig

Theme override for the IFrame entity browser. Template copied from core/modules/system/templates/html.html.twig

Variables:

  • logged_in: A flag indicating if user is logged in.
  • root_path: The root path of the current page (e.g., node, admin, user).
  • node_type: The content type for the current node, if the page is a node.
  • css: A list of CSS files for the current page.
  • head: Markup for the HEAD element (including meta tags, keyword tags, and so on).
  • head_title: List of text elements that make up the head_title variable. May contain or more of the following:

    • title: The title of the page.
    • name: The name of the site.
    • slogan: The slogan of the site.
  • page_top: Initial rendered markup. This should be printed before 'page'.
  • page: The rendered page markup.
  • page_bottom: Closing rendered markup. This variable should be printed after 'page'.
  • styles: Style tags necessary to import all necessary CSS files in the head.
  • scripts: Script tags necessary to load the JavaScript files and settings in the head.
  • db_offline: A flag indicating if the database is offline.

File

templates/html--entity-browser--bootstrap4-modal--iframe.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the IFrame entity browser. Template copied from core/modules/system/templates/html.html.twig
  5. *
  6. * Variables:
  7. * - logged_in: A flag indicating if user is logged in.
  8. * - root_path: The root path of the current page (e.g., node, admin, user).
  9. * - node_type: The content type for the current node, if the page is a node.
  10. * - css: A list of CSS files for the current page.
  11. * - head: Markup for the HEAD element (including meta tags, keyword tags, and
  12. * so on).
  13. * - head_title: List of text elements that make up the head_title variable.
  14. * May contain or more of the following:
  15. * - title: The title of the page.
  16. * - name: The name of the site.
  17. * - slogan: The slogan of the site.
  18. * - page_top: Initial rendered markup. This should be printed before 'page'.
  19. * - page: The rendered page markup.
  20. * - page_bottom: Closing rendered markup. This variable should be printed after
  21. * 'page'.
  22. * - styles: Style tags necessary to import all necessary CSS files in the head.
  23. * - scripts: Script tags necessary to load the JavaScript files and settings
  24. * in the head.
  25. * - db_offline: A flag indicating if the database is offline.
  26. *
  27. * @see template_preprocess_html()
  28. *
  29. * @ingroup themeable
  30. */
  31. #}
  32. <!DOCTYPE html>
  33. <html{{ html_attributes }}>
  34. <head>
  35. <head-placeholder token="{{ placeholder_token|raw }}">
  36. <title>{{ head_title|safe_join(' | ') }}</title>
  37. <css-placeholder token="{{ placeholder_token|raw }}">
  38. <js-placeholder token="{{ placeholder_token|raw }}">
  39. </head>
  40. <body{{ attributes }}>
  41. <a href="#main-content" class="visually-hidden focusable">
  42. {{ 'Skip to main content'|t }}
  43. </a>
  44. {{ page }}
  45. <js-bottom-placeholder token="{{ placeholder_token|raw }}">
  46. </body>
  47. </html>