views.view.test_language.yml

Same filename in other branches
  1. 9 core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml
  2. 8.9.x core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml
  3. 10 core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml
1 string reference to 'views.view.test_language'
NodeLanguageTest::testNativeLanguageField in core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
Tests native name display in language field.

File

core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - node
  6. - user
  7. id: test_language
  8. label: 'Test language'
  9. module: views
  10. description: ''
  11. tag: ''
  12. base_table: node_field_data
  13. base_field: nid
  14. display:
  15. default:
  16. display_plugin: default
  17. id: default
  18. display_title: Default
  19. position: 0
  20. display_options:
  21. access:
  22. type: perm
  23. options:
  24. perm: 'access content'
  25. cache:
  26. type: tag
  27. options: { }
  28. query:
  29. type: views_query
  30. options:
  31. disable_sql_rewrite: false
  32. distinct: false
  33. replica: false
  34. query_comment: ''
  35. query_tags: { }
  36. exposed_form:
  37. type: basic
  38. options:
  39. submit_button: Apply
  40. reset_button: false
  41. reset_button_label: Reset
  42. exposed_sorts_label: 'Sort by'
  43. expose_sort_order: true
  44. sort_asc_label: Asc
  45. sort_desc_label: Desc
  46. pager:
  47. type: none
  48. options:
  49. items_per_page: 0
  50. offset: 0
  51. style:
  52. type: default
  53. row:
  54. type: fields
  55. options:
  56. default_field_elements: true
  57. inline: { }
  58. separator: ''
  59. hide_empty: false
  60. fields:
  61. title:
  62. id: title
  63. table: node_field_data
  64. field: title
  65. relationship: none
  66. group_type: group
  67. admin_label: ''
  68. label: ''
  69. exclude: false
  70. alter:
  71. alter_text: false
  72. text: ''
  73. make_link: false
  74. path: ''
  75. absolute: false
  76. external: false
  77. replace_spaces: false
  78. path_case: none
  79. trim_whitespace: false
  80. alt: ''
  81. rel: ''
  82. link_class: ''
  83. prefix: ''
  84. suffix: ''
  85. target: ''
  86. nl2br: false
  87. max_length: 0
  88. word_boundary: false
  89. ellipsis: false
  90. more_link: false
  91. more_link_text: ''
  92. more_link_path: ''
  93. strip_tags: false
  94. trim: false
  95. preserve_tags: ''
  96. html: false
  97. element_type: ''
  98. element_class: ''
  99. element_label_type: ''
  100. element_label_class: ''
  101. element_label_colon: false
  102. element_wrapper_type: ''
  103. element_wrapper_class: ''
  104. element_default_classes: true
  105. empty: ''
  106. hide_empty: false
  107. empty_zero: false
  108. hide_alter_empty: true
  109. plugin_id: field
  110. entity_type: node
  111. entity_field: title
  112. langcode:
  113. id: langcode
  114. table: node_field_data
  115. field: langcode
  116. relationship: none
  117. group_type: group
  118. admin_label: ''
  119. label: Language
  120. exclude: false
  121. alter:
  122. alter_text: false
  123. text: ''
  124. make_link: false
  125. path: ''
  126. absolute: false
  127. external: false
  128. replace_spaces: false
  129. path_case: none
  130. trim_whitespace: false
  131. alt: ''
  132. rel: ''
  133. link_class: ''
  134. prefix: ''
  135. suffix: ''
  136. target: ''
  137. nl2br: false
  138. max_length: 0
  139. word_boundary: true
  140. ellipsis: true
  141. more_link: false
  142. more_link_text: ''
  143. more_link_path: ''
  144. strip_tags: false
  145. trim: false
  146. preserve_tags: ''
  147. html: false
  148. element_type: ''
  149. element_class: ''
  150. element_label_type: ''
  151. element_label_class: ''
  152. element_label_colon: true
  153. element_wrapper_type: ''
  154. element_wrapper_class: ''
  155. element_default_classes: true
  156. empty: ''
  157. hide_empty: false
  158. empty_zero: false
  159. hide_alter_empty: true
  160. plugin_id: field
  161. entity_type: node
  162. entity_field: langcode
  163. settings:
  164. native_language: false
  165. type: language
  166. filters:
  167. status:
  168. value: '1'
  169. table: node_field_data
  170. field: status
  171. id: status
  172. expose:
  173. operator: ''
  174. group: 1
  175. plugin_id: boolean
  176. entity_type: node
  177. entity_field: status
  178. type:
  179. id: type
  180. table: node_field_data
  181. field: type
  182. value:
  183. page: page
  184. plugin_id: bundle
  185. entity_type: node
  186. entity_field: type
  187. langcode:
  188. id: langcode
  189. table: node_field_data
  190. field: langcode
  191. relationship: none
  192. group_type: group
  193. admin_label: ''
  194. operator: in
  195. value:
  196. fr: fr
  197. es: es
  198. und: und
  199. group: 1
  200. exposed: false
  201. expose:
  202. operator_id: ''
  203. label: ''
  204. description: ''
  205. use_operator: false
  206. operator: ''
  207. identifier: ''
  208. required: false
  209. remember: false
  210. multiple: false
  211. remember_roles:
  212. authenticated: authenticated
  213. reduce: false
  214. is_grouped: false
  215. group_info:
  216. label: ''
  217. description: ''
  218. identifier: ''
  219. optional: true
  220. widget: select
  221. multiple: false
  222. remember: false
  223. default_group: All
  224. default_group_multiple: { }
  225. group_items: { }
  226. plugin_id: language
  227. entity_type: node
  228. entity_field: langcode
  229. sorts:
  230. langcode:
  231. id: langcode
  232. table: node_field_data
  233. field: langcode
  234. relationship: none
  235. group_type: group
  236. admin_label: ''
  237. order: ASC
  238. exposed: false
  239. expose:
  240. label: ''
  241. plugin_id: standard
  242. entity_type: node
  243. entity_field: langcode
  244. title: 'Language filter test'
  245. header: { }
  246. footer: { }
  247. empty: { }
  248. relationships: { }
  249. arguments:
  250. langcode:
  251. id: langcode
  252. table: node_field_data
  253. field: langcode
  254. relationship: none
  255. group_type: group
  256. admin_label: ''
  257. default_action: ignore
  258. exception:
  259. value: all
  260. title_enable: false
  261. title: All
  262. title_enable: false
  263. title: ''
  264. default_argument_type: fixed
  265. default_argument_options:
  266. argument: ''
  267. summary_options:
  268. base_path: ''
  269. count: true
  270. items_per_page: 25
  271. override: false
  272. summary:
  273. sort_order: asc
  274. number_of_records: 0
  275. format: default_summary
  276. specify_validation: false
  277. validate:
  278. type: none
  279. fail: 'not found'
  280. validate_options: { }
  281. plugin_id: language
  282. entity_type: node
  283. entity_field: langcode
  284. page_1:
  285. display_plugin: page
  286. id: page_1
  287. display_title: Page
  288. position: 1
  289. display_options:
  290. path: test-language

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