views.view.test_tokens.yml

Same filename in other branches
  1. 9 core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml
  2. 8.9.x core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml
  3. 11.x core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml
core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml

File

core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies: { }
  4. id: test_tokens
  5. label: 'Test tokens'
  6. module: views
  7. description: 'Test view to token replacement tests.'
  8. tag: ''
  9. base_table: views_test_data
  10. base_field: id
  11. display:
  12. default:
  13. display_options:
  14. title: 'Test token default'
  15. defaults:
  16. fields: false
  17. pager: false
  18. sorts: false
  19. fields:
  20. age:
  21. field: age
  22. id: age
  23. relationship: none
  24. table: views_test_data
  25. plugin_id: numeric
  26. id:
  27. field: id
  28. id: id
  29. relationship: none
  30. table: views_test_data
  31. plugin_id: numeric
  32. name:
  33. field: name
  34. id: name
  35. relationship: none
  36. table: views_test_data
  37. plugin_id: string
  38. pager:
  39. type: full
  40. options:
  41. items_per_page: 10
  42. display_plugin: default
  43. display_title: Default
  44. id: default
  45. position: 0
  46. page_1:
  47. id: page_1
  48. display_title: Page
  49. display_plugin: page
  50. position: 1
  51. display_options:
  52. defaults:
  53. title: false
  54. title: 'Test token page'
  55. query:
  56. type: views_query
  57. options: { }
  58. path: test_tokens
  59. page_2:
  60. id: page_2
  61. display_title: Page
  62. display_plugin: page
  63. position: 2
  64. display_options:
  65. defaults:
  66. filters: false
  67. query:
  68. type: views_query
  69. options: { }
  70. filters:
  71. name:
  72. field: name
  73. id: test_filter
  74. table: views_test_data
  75. plugin_id: string
  76. operator: '='
  77. value: 'not an existing name'
  78. path: test_tokens_empty
  79. page_3:
  80. display_plugin: page
  81. id: page_3
  82. display_title: Page
  83. position: 1
  84. display_options:
  85. defaults:
  86. title: false
  87. pager: false
  88. header: false
  89. pager:
  90. type: mini
  91. options:
  92. items_per_page: 2
  93. title: 'Test token page with mini pager'
  94. path: test_tokens_mini_pager
  95. display_extenders: { }
  96. header:
  97. area:
  98. id: area
  99. table: views
  100. field: area
  101. relationship: none
  102. group_type: group
  103. admin_label: ''
  104. empty: false
  105. tokenize: false
  106. content:
  107. value: "Total rows: [view:total-rows] - Page count: [view:page-count]"
  108. format: basic_html
  109. plugin_id: text
  110. page_4:
  111. display_plugin: page
  112. id: page_4
  113. display_title: Specific items page
  114. position: 5
  115. display_options:
  116. defaults:
  117. title: false
  118. pager: false
  119. header: false
  120. pager:
  121. type: some
  122. options:
  123. offset: 0
  124. items_per_page: 3
  125. title: 'Test token page with "Display a specified number of items" pager plugin.'
  126. path: test_tokens_display_specific_items
  127. display_extenders: { }
  128. header:
  129. area:
  130. id: area
  131. table: views
  132. field: area
  133. relationship: none
  134. group_type: group
  135. admin_label: ''
  136. empty: false
  137. tokenize: false
  138. content:
  139. value: "Total rows: [view:total-rows]"
  140. format: basic_html
  141. plugin_id: text

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