You are here

views.view.blog.yml in Blog 3.x

Same filename and directory in other branches
  1. 8.2 config/install/views.view.blog.yml
config/install/views.view.blog.yml

File

config/install/views.view.blog.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.teaser
  6. - node.type.blog_post
  7. module:
  8. - node
  9. - user
  10. id: blog
  11. label: Blog
  12. module: views
  13. description: ''
  14. tag: ''
  15. base_table: node_field_data
  16. base_field: nid
  17. core: 8.x
  18. display:
  19. default:
  20. display_plugin: default
  21. id: default
  22. display_title: Master
  23. position: 0
  24. display_options:
  25. access:
  26. type: perm
  27. options:
  28. perm: 'access content'
  29. cache:
  30. type: tag
  31. options: { }
  32. query:
  33. type: views_query
  34. options:
  35. disable_sql_rewrite: false
  36. distinct: false
  37. replica: false
  38. query_comment: ''
  39. query_tags: { }
  40. exposed_form:
  41. type: basic
  42. options:
  43. submit_button: Apply
  44. reset_button: false
  45. reset_button_label: Reset
  46. exposed_sorts_label: 'Sort by'
  47. expose_sort_order: true
  48. sort_asc_label: Asc
  49. sort_desc_label: Desc
  50. pager:
  51. type: full
  52. options:
  53. items_per_page: 10
  54. offset: 0
  55. id: 0
  56. total_pages: null
  57. expose:
  58. items_per_page: false
  59. items_per_page_label: 'Items per page'
  60. items_per_page_options: '5, 10, 25, 50'
  61. items_per_page_options_all: false
  62. items_per_page_options_all_label: '- All -'
  63. offset: false
  64. offset_label: Offset
  65. tags:
  66. previous: '‹ Previous'
  67. next: 'Next ›'
  68. first: '« First'
  69. last: 'Last »'
  70. quantity: 9
  71. style:
  72. type: default
  73. row:
  74. type: 'entity:node'
  75. options:
  76. relationship: none
  77. view_mode: teaser
  78. fields:
  79. title:
  80. id: title
  81. table: node_field_data
  82. field: title
  83. entity_type: node
  84. entity_field: title
  85. label: ''
  86. alter:
  87. alter_text: false
  88. make_link: false
  89. absolute: false
  90. trim: false
  91. word_boundary: false
  92. ellipsis: false
  93. strip_tags: false
  94. html: false
  95. hide_empty: false
  96. empty_zero: false
  97. settings:
  98. link_to_entity: true
  99. plugin_id: field
  100. relationship: none
  101. group_type: group
  102. admin_label: ''
  103. exclude: false
  104. element_type: ''
  105. element_class: ''
  106. element_label_type: ''
  107. element_label_class: ''
  108. element_label_colon: true
  109. element_wrapper_type: ''
  110. element_wrapper_class: ''
  111. element_default_classes: true
  112. empty: ''
  113. hide_alter_empty: true
  114. click_sort_column: value
  115. type: string
  116. group_column: value
  117. group_columns: { }
  118. group_rows: true
  119. delta_limit: 0
  120. delta_offset: 0
  121. delta_reversed: false
  122. delta_first_last: false
  123. multi_type: separator
  124. separator: ', '
  125. field_api_classes: false
  126. filters:
  127. status:
  128. value: '1'
  129. table: node_field_data
  130. field: status
  131. plugin_id: boolean
  132. entity_type: node
  133. entity_field: status
  134. id: status
  135. expose:
  136. operator: ''
  137. group: 1
  138. type:
  139. id: type
  140. table: node_field_data
  141. field: type
  142. value:
  143. blog_post: blog_post
  144. entity_type: node
  145. entity_field: type
  146. plugin_id: bundle
  147. sorts:
  148. created:
  149. id: created
  150. table: node_field_data
  151. field: created
  152. order: DESC
  153. entity_type: node
  154. entity_field: created
  155. plugin_id: date
  156. relationship: none
  157. group_type: group
  158. admin_label: ''
  159. exposed: false
  160. expose:
  161. label: ''
  162. granularity: second
  163. title: 'Blog posts'
  164. header: { }
  165. footer: { }
  166. empty:
  167. area_text_custom:
  168. id: area_text_custom
  169. table: views
  170. field: area_text_custom
  171. relationship: none
  172. group_type: group
  173. admin_label: ''
  174. empty: true
  175. tokenize: true
  176. content: 'No blog entries have been created.'
  177. plugin_id: text_custom
  178. relationships: { }
  179. arguments: { }
  180. display_extenders: { }
  181. cache_metadata:
  182. max-age: -1
  183. contexts:
  184. - 'languages:language_content'
  185. - 'languages:language_interface'
  186. - url.query_args
  187. - 'user.node_grants:view'
  188. - user.permissions
  189. tags: { }
  190. blog_all:
  191. display_plugin: page
  192. id: blog_all
  193. display_title: 'All blog posts'
  194. position: 1
  195. display_options:
  196. display_extenders: { }
  197. path: blog
  198. display_description: ''
  199. cache_metadata:
  200. max-age: -1
  201. contexts:
  202. - 'languages:language_content'
  203. - 'languages:language_interface'
  204. - url.query_args
  205. - 'user.node_grants:view'
  206. - user.permissions
  207. tags: { }
  208. blog_block:
  209. display_plugin: block
  210. id: blog_block
  211. display_title: Block
  212. position: 5
  213. display_options:
  214. display_extenders: { }
  215. title: 'Recent blog posts'
  216. defaults:
  217. title: false
  218. style: false
  219. row: false
  220. style:
  221. type: default
  222. options: { }
  223. row:
  224. type: fields
  225. options:
  226. default_field_elements: true
  227. inline: { }
  228. separator: ''
  229. hide_empty: false
  230. cache_metadata:
  231. max-age: -1
  232. contexts:
  233. - 'languages:language_content'
  234. - 'languages:language_interface'
  235. - url.query_args
  236. - 'user.node_grants:view'
  237. - user.permissions
  238. tags: { }
  239. blog_user_all:
  240. display_plugin: page
  241. id: blog_user_all
  242. display_title: 'All user blog posts'
  243. position: 1
  244. display_options:
  245. display_extenders: { }
  246. path: blog/%
  247. display_description: ''
  248. arguments:
  249. uid:
  250. id: uid
  251. table: users_field_data
  252. field: uid
  253. relationship: uid
  254. group_type: group
  255. admin_label: ''
  256. default_action: 'not found'
  257. exception:
  258. value: all
  259. title_enable: false
  260. title: All
  261. title_enable: true
  262. title: '{{ arguments.uid }}''s blog'
  263. default_argument_type: fixed
  264. default_argument_options:
  265. argument: ''
  266. default_argument_skip_url: false
  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: true
  277. validate:
  278. type: 'entity:user'
  279. fail: 'not found'
  280. validate_options:
  281. operation: view
  282. multiple: 0
  283. access: false
  284. restrict_roles: false
  285. roles: { }
  286. break_phrase: false
  287. not: false
  288. entity_type: user
  289. entity_field: uid
  290. plugin_id: user_uid
  291. defaults:
  292. arguments: false
  293. relationships: false
  294. empty: false
  295. relationships:
  296. uid:
  297. id: uid
  298. table: node_field_data
  299. field: uid
  300. relationship: none
  301. group_type: group
  302. admin_label: author
  303. required: false
  304. entity_type: node
  305. entity_field: uid
  306. plugin_id: standard
  307. empty:
  308. area_text_custom:
  309. id: area_text_custom
  310. table: views
  311. field: area_text_custom
  312. relationship: none
  313. group_type: group
  314. admin_label: ''
  315. empty: true
  316. tokenize: true
  317. content: '{{ arguments.uid }} has not created any blog entries.'
  318. plugin_id: text_custom
  319. cache_metadata:
  320. max-age: -1
  321. contexts:
  322. - 'languages:language_content'
  323. - 'languages:language_interface'
  324. - url
  325. - url.query_args
  326. - 'user.node_grants:view'
  327. - user.permissions
  328. tags: { }
  329. feed_1:
  330. display_plugin: feed
  331. id: feed_1
  332. display_title: 'All blog posts feed'
  333. position: 2
  334. display_options:
  335. display_extenders: { }
  336. row:
  337. type: node_rss
  338. pager:
  339. type: some
  340. style:
  341. type: rss
  342. path: blog/feed
  343. displays:
  344. blog_all: blog_all
  345. default: '0'
  346. blog_block: '0'
  347. blog_user_all: '0'
  348. display_description: ''
  349. title: 'Drupal blog posts'
  350. defaults:
  351. title: false
  352. sitename_title: false
  353. cache_metadata:
  354. max-age: -1
  355. contexts:
  356. - 'languages:language_content'
  357. - 'languages:language_interface'
  358. - 'user.node_grants:view'
  359. - user.permissions
  360. tags: { }
  361. feed_2:
  362. display_plugin: feed
  363. id: feed_2
  364. display_title: 'All user blog posts feed'
  365. position: 2
  366. display_options:
  367. display_extenders: { }
  368. row:
  369. type: node_rss
  370. pager:
  371. type: some
  372. style:
  373. type: rss
  374. path: blog/%/feed
  375. displays:
  376. blog_user_all: blog_user_all
  377. default: '0'
  378. blog_all: '0'
  379. blog_block: '0'
  380. display_description: ''
  381. arguments:
  382. uid:
  383. id: uid
  384. table: users_field_data
  385. field: uid
  386. relationship: uid
  387. group_type: group
  388. admin_label: ''
  389. default_action: 'not found'
  390. exception:
  391. value: all
  392. title_enable: false
  393. title: All
  394. title_enable: true
  395. title: '{{ arguments.uid }}''s blog'
  396. default_argument_type: fixed
  397. default_argument_options:
  398. argument: ''
  399. default_argument_skip_url: false
  400. summary_options:
  401. base_path: ''
  402. count: true
  403. items_per_page: 25
  404. override: false
  405. summary:
  406. sort_order: asc
  407. number_of_records: 0
  408. format: default_summary
  409. specify_validation: true
  410. validate:
  411. type: 'entity:user'
  412. fail: 'not found'
  413. validate_options:
  414. operation: view
  415. multiple: 0
  416. access: false
  417. restrict_roles: false
  418. roles: { }
  419. break_phrase: false
  420. not: false
  421. entity_type: user
  422. entity_field: uid
  423. plugin_id: user_uid
  424. defaults:
  425. arguments: false
  426. relationships: false
  427. empty: true
  428. relationships:
  429. uid:
  430. id: uid
  431. table: node_field_data
  432. field: uid
  433. relationship: none
  434. group_type: group
  435. admin_label: author
  436. required: false
  437. entity_type: node
  438. entity_field: uid
  439. plugin_id: standard
  440. cache_metadata:
  441. max-age: -1
  442. contexts:
  443. - 'languages:language_content'
  444. - 'languages:language_interface'
  445. - url
  446. - 'user.node_grants:view'
  447. - user.permissions
  448. tags: { }