You are here

calendar_base_field.yml in Calendar 8

views_templates/calendar_base_field.yml

File

views_templates/calendar_base_field.yml
View source
  1. langcode: en
  2. status: true
  3. id: calendar_field
  4. label: '__ENTITY_LABEL __FIELD_LABEL Calendar'
  5. module: views
  6. description: 'A calendar view of the ''__FIELD_LABEL'' field in the ''__ENTITY_LABEL'' base table'
  7. tag: ''
  8. base_table: __BASE_TABLE
  9. base_field: __BASE_FIELD
  10. core: 8.x
  11. display:
  12. default:
  13. display_plugin: default
  14. id: default
  15. display_title: Master
  16. position: 0
  17. display_options:
  18. access:
  19. type: perm
  20. options:
  21. perm: 'access content'
  22. cache:
  23. type: tag
  24. options: { }
  25. query:
  26. type: views_query
  27. options:
  28. disable_sql_rewrite: false
  29. distinct: false
  30. replica: false
  31. query_comment: ''
  32. query_tags: { }
  33. exposed_form:
  34. type: basic
  35. options:
  36. submit_button: Apply
  37. reset_button: false
  38. reset_button_label: Reset
  39. exposed_sorts_label: 'Sort by'
  40. expose_sort_order: true
  41. sort_asc_label: Asc
  42. sort_desc_label: Desc
  43. pager:
  44. type: calendar
  45. options:
  46. pager_placement: top
  47. style:
  48. type: calendar
  49. options:
  50. calendar_type: month
  51. mini: '0'
  52. name_size: '3'
  53. with_weekno: '0'
  54. max_items: '0'
  55. max_items_behavior: more
  56. groupby_times: hour
  57. groupby_times_custom: null
  58. theme_style: '1'
  59. groupby_field: ''
  60. multiday_theme: '1'
  61. multiday_hidden: { }
  62. row:
  63. type: calendar_row
  64. options:
  65. colors:
  66. legend: type
  67. calendar_colors_type:
  68. article: '#ffffff'
  69. page: '#ffffff'
  70. taxonomy_field: ''
  71. calendar_colors_vocabulary: { }
  72. fields:
  73. __FIELD_ID:
  74. id: __FIELD_ID
  75. table: __BASE_TABLE
  76. field: __FIELD_ID
  77. entity_type: __ENTITY_TYPE
  78. entity_field: __FIELD_ID
  79. label: ''
  80. alter:
  81. alter_text: false
  82. make_link: false
  83. absolute: false
  84. trim: false
  85. word_boundary: false
  86. ellipsis: false
  87. strip_tags: false
  88. html: false
  89. hide_empty: false
  90. empty_zero: false
  91. settings:
  92. link_to_entity: true
  93. plugin_id: field
  94. relationship: none
  95. group_type: group
  96. admin_label: ''
  97. exclude: false
  98. element_type: ''
  99. element_class: ''
  100. element_label_type: ''
  101. element_label_class: ''
  102. element_label_colon: true
  103. element_wrapper_type: ''
  104. element_wrapper_class: ''
  105. element_default_classes: true
  106. empty: ''
  107. hide_alter_empty: true
  108. click_sort_column: value
  109. type: string
  110. group_column: value
  111. group_columns: { }
  112. group_rows: true
  113. delta_limit: 0
  114. delta_offset: 0
  115. delta_reversed: false
  116. delta_first_last: false
  117. multi_type: separator
  118. separator: ', '
  119. field_api_classes: false
  120. __DEFAULT_FIELD_ID:
  121. id: __DEFAULT_FIELD_ID
  122. table: __BASE_TABLE
  123. field: __DEFAULT_FIELD_ID
  124. relationship: none
  125. group_type: group
  126. admin_label: ''
  127. label: ''
  128. exclude: false
  129. alter:
  130. alter_text: false
  131. text: ''
  132. make_link: false
  133. path: ''
  134. absolute: false
  135. external: false
  136. replace_spaces: false
  137. path_case: none
  138. trim_whitespace: false
  139. alt: ''
  140. rel: ''
  141. link_class: ''
  142. prefix: ''
  143. suffix: ''
  144. target: ''
  145. nl2br: false
  146. max_length: 0
  147. word_boundary: true
  148. ellipsis: true
  149. more_link: false
  150. more_link_text: ''
  151. more_link_path: ''
  152. strip_tags: false
  153. trim: false
  154. preserve_tags: ''
  155. html: false
  156. element_type: ''
  157. element_class: ''
  158. element_label_type: ''
  159. element_label_class: ''
  160. element_label_colon: false
  161. element_wrapper_type: ''
  162. element_wrapper_class: ''
  163. element_default_classes: true
  164. empty: ''
  165. hide_empty: false
  166. empty_zero: false
  167. hide_alter_empty: true
  168. click_sort_column: value
  169. group_column: value
  170. group_columns: { }
  171. group_rows: true
  172. delta_limit: 0
  173. delta_offset: 0
  174. delta_reversed: false
  175. delta_first_last: false
  176. multi_type: separator
  177. separator: ', '
  178. field_api_classes: false
  179. entity_type: __ENTITY_TYPE
  180. entity_field: __DEFAULT_FIELD_ID
  181. plugin_id: field
  182. filters:
  183. status:
  184. value: true
  185. table: __BASE_TABLE
  186. field: status
  187. plugin_id: boolean
  188. entity_type: __ENTITY_TYPE
  189. entity_field: status
  190. id: status
  191. expose:
  192. operator: ''
  193. group: 1
  194. sorts:
  195. __FIELD_ID:
  196. id: __FIELD_ID
  197. table: __BASE_TABLE
  198. field: __FIELD_ID
  199. relationship: none
  200. group_type: group
  201. admin_label: ''
  202. order: ASC
  203. exposed: false
  204. expose:
  205. label: ''
  206. granularity: second
  207. entity_type: __ENTITY_TYPE
  208. entity_field: __FIELD_ID
  209. plugin_id: date
  210. header: { }
  211. footer: { }
  212. empty: { }
  213. relationships: { }
  214. arguments: { }
  215. display_extenders: { }
  216. cache_metadata:
  217. max-age: -1
  218. contexts:
  219. - 'languages:language_content'
  220. - 'languages:language_interface'
  221. - url
  222. - 'user.node_grants:view'
  223. - user.permissions
  224. tags: { }
  225. page_month:
  226. display_plugin: page
  227. id: page_month
  228. display_title: Month
  229. position: 1
  230. display_options:
  231. display_extenders: { }
  232. path: __BASE_PATH/month
  233. display_description: ''
  234. menu:
  235. type: tab
  236. title: Month
  237. description: ''
  238. expanded: false
  239. parent: ''
  240. weight: 0
  241. context: '0'
  242. menu_name: main
  243. tab_options:
  244. type: normal
  245. title: Calendar
  246. description: ''
  247. weight: 0
  248. header:
  249. calendar_header_1:
  250. id: calendar_header_1
  251. table: views
  252. field: calendar_header
  253. relationship: none
  254. group_type: group
  255. admin_label: ''
  256. empty: true
  257. tokenize: 1
  258. content: '{{ arguments.__FIELD_ID_year_month }}'
  259. pager_embed: 0
  260. plugin_id: calendar_header
  261. calendar_header:
  262. id: calendar_header
  263. table: views
  264. field: calendar_header
  265. relationship: none
  266. group_type: group
  267. admin_label: 'Calendar Pager'
  268. empty: true
  269. tokenize: 1
  270. content: ''
  271. pager_embed: 1
  272. plugin_id: calendar_header
  273. arguments:
  274. __FIELD_ID_year_month:
  275. id: __FIELD_ID_year_month
  276. table: __BASE_TABLE
  277. field: __FIELD_ID_year_month
  278. relationship: none
  279. group_type: group
  280. admin_label: ''
  281. default_action: default
  282. exception:
  283. value: all
  284. title_enable: false
  285. title: All
  286. title_enable: false
  287. title: ''
  288. default_argument_type: date
  289. default_argument_options: { }
  290. default_argument_skip_url: false
  291. summary_options:
  292. base_path: ''
  293. count: true
  294. items_per_page: 25
  295. override: false
  296. summary:
  297. sort_order: asc
  298. number_of_records: 0
  299. format: default_summary
  300. specify_validation: true
  301. validate:
  302. type: calendar
  303. fail: 'not found'
  304. validate_options:
  305. replacement_format: 'F Y'
  306. entity_type: __ENTITY_TYPE
  307. plugin_id: date_year_month
  308. defaults:
  309. arguments: false
  310. header: false
  311. cache_metadata:
  312. max-age: -1
  313. contexts:
  314. - 'languages:language_content'
  315. - 'languages:language_interface'
  316. - url
  317. - 'user.node_grants:view'
  318. - user.permissions
  319. tags: { }
  320. page_week:
  321. display_plugin: page
  322. id: page_week
  323. display_title: Week
  324. position: 2
  325. display_options:
  326. display_extenders: { }
  327. display_description: ''
  328. style:
  329. type: calendar
  330. options:
  331. calendar_type: week
  332. mini: '0'
  333. name_size: '3'
  334. with_weekno: '0'
  335. max_items: '0'
  336. max_items_behavior: more
  337. groupby_times: hour
  338. groupby_times_custom: null
  339. theme_style: '1'
  340. groupby_field: ''
  341. multiday_theme: '1'
  342. multiday_hidden: { }
  343. defaults:
  344. style: false
  345. row: false
  346. arguments: false
  347. header: false
  348. row:
  349. type: calendar_row
  350. options:
  351. colors:
  352. legend: type
  353. calendar_colors_type:
  354. article: '#ffffff'
  355. page: '#ffffff'
  356. taxonomy_field: ''
  357. calendar_colors_vocabulary: { }
  358. path: __BASE_PATH/week
  359. menu:
  360. type: tab
  361. title: Week
  362. description: ''
  363. expanded: false
  364. parent: ''
  365. weight: 0
  366. context: '0'
  367. menu_name: main
  368. header:
  369. calendar_header_1:
  370. id: calendar_header_1
  371. table: views
  372. field: calendar_header
  373. relationship: none
  374. group_type: group
  375. admin_label: ''
  376. empty: true
  377. tokenize: 1
  378. content: 'Week of {{ arguments.__FIELD_ID_year_week }}'
  379. pager_embed: 0
  380. plugin_id: calendar_header
  381. calendar_header:
  382. id: calendar_header
  383. table: views
  384. field: calendar_header
  385. relationship: none
  386. group_type: group
  387. admin_label: 'Calendar Pager'
  388. empty: true
  389. tokenize: 1
  390. content: ''
  391. pager_embed: 1
  392. plugin_id: calendar_header
  393. arguments:
  394. __FIELD_ID_year_week:
  395. id: __FIELD_ID_year_week
  396. table: __BASE_TABLE
  397. field: __FIELD_ID_year_week
  398. relationship: none
  399. group_type: group
  400. admin_label: ''
  401. default_action: default
  402. exception:
  403. value: all
  404. title_enable: false
  405. title: All
  406. title_enable: false
  407. title: ''
  408. default_argument_type: date
  409. default_argument_options: { }
  410. default_argument_skip_url: false
  411. summary_options:
  412. base_path: ''
  413. count: true
  414. items_per_page: 25
  415. override: false
  416. summary:
  417. sort_order: asc
  418. number_of_records: 0
  419. format: default_summary
  420. specify_validation: true
  421. validate:
  422. type: calendar
  423. fail: 'not found'
  424. validate_options:
  425. replacement_format: 'F j, Y'
  426. entity_type: __ENTITY_TYPE
  427. plugin_id: date_year_week
  428. cache_metadata:
  429. max-age: -1
  430. contexts:
  431. - 'languages:language_content'
  432. - 'languages:language_interface'
  433. - url
  434. - 'user.node_grants:view'
  435. - user.permissions
  436. tags: { }
  437. page_day:
  438. display_plugin: page
  439. id: page_day
  440. display_title: Day
  441. position: 3
  442. display_options:
  443. display_extenders: { }
  444. display_description: ''
  445. style:
  446. type: calendar
  447. options:
  448. calendar_type: day
  449. mini: '0'
  450. name_size: '3'
  451. with_weekno: '0'
  452. max_items: '0'
  453. max_items_behavior: more
  454. groupby_times: hour
  455. groupby_times_custom: null
  456. theme_style: '1'
  457. groupby_field: ''
  458. multiday_theme: '1'
  459. multiday_hidden: { }
  460. defaults:
  461. style: false
  462. row: false
  463. arguments: false
  464. header: false
  465. row:
  466. type: calendar_row
  467. options:
  468. colors:
  469. legend: type
  470. calendar_colors_type:
  471. article: '#ffffff'
  472. page: '#ffffff'
  473. taxonomy_field: ''
  474. calendar_colors_vocabulary: { }
  475. path: __BASE_PATH/day
  476. menu:
  477. type: tab
  478. title: Day
  479. description: ''
  480. expanded: false
  481. parent: ''
  482. weight: 0
  483. context: '0'
  484. menu_name: main
  485. header:
  486. calendar_header_1:
  487. id: calendar_header_1
  488. table: views
  489. field: calendar_header
  490. relationship: none
  491. group_type: group
  492. admin_label: ''
  493. empty: true
  494. tokenize: 1
  495. content: '{{ arguments.__FIELD_ID__fulldate }}'
  496. pager_embed: 0
  497. plugin_id: calendar_header
  498. calendar_header:
  499. id: calendar_header
  500. table: views
  501. field: calendar_header
  502. relationship: none
  503. group_type: group
  504. admin_label: 'Calendar Pager'
  505. empty: true
  506. tokenize: 1
  507. content: ''
  508. pager_embed: 1
  509. plugin_id: calendar_header
  510. arguments:
  511. __FIELD_ID__fulldate:
  512. id: __FIELD_ID_fulldate
  513. table: __BASE_TABLE
  514. field: __FIELD_ID_fulldate
  515. relationship: none
  516. group_type: group
  517. admin_label: ''
  518. default_action: default
  519. exception:
  520. value: all
  521. title_enable: false
  522. title: All
  523. title_enable: false
  524. title: ''
  525. default_argument_type: date
  526. default_argument_options: { }
  527. default_argument_skip_url: false
  528. summary_options:
  529. base_path: ''
  530. count: true
  531. items_per_page: 25
  532. override: false
  533. summary:
  534. sort_order: asc
  535. number_of_records: 0
  536. format: default_summary
  537. specify_validation: true
  538. validate:
  539. type: calendar
  540. fail: 'not found'
  541. validate_options:
  542. replacement_format: 'l, F j, Y'
  543. entity_type: __ENTITY_TYPE
  544. plugin_id: date_fulldate
  545. cache_metadata:
  546. max-age: -1
  547. contexts:
  548. - 'languages:language_content'
  549. - 'languages:language_interface'
  550. - url
  551. - 'user.node_grants:view'
  552. - user.permissions
  553. tags: { }
  554. page_year:
  555. display_plugin: page
  556. id: page_year
  557. display_title: Year
  558. position: 4
  559. display_options:
  560. display_extenders: { }
  561. display_description: ''
  562. style:
  563. type: calendar
  564. options:
  565. calendar_type: year
  566. mini: '0'
  567. name_size: '3'
  568. with_weekno: '0'
  569. max_items: '0'
  570. max_items_behavior: more
  571. groupby_times: hour
  572. groupby_times_custom: null
  573. theme_style: '1'
  574. groupby_field: ''
  575. multiday_theme: '1'
  576. multiday_hidden: { }
  577. defaults:
  578. style: false
  579. row: false
  580. arguments: false
  581. header: false
  582. row:
  583. type: calendar_row
  584. options:
  585. colors:
  586. legend: type
  587. calendar_colors_type:
  588. article: '#ffffff'
  589. page: '#ffffff'
  590. taxonomy_field: ''
  591. calendar_colors_vocabulary: { }
  592. header:
  593. calendar_header_1:
  594. id: calendar_header_1
  595. table: views
  596. field: calendar_header
  597. relationship: none
  598. group_type: group
  599. admin_label: ''
  600. empty: true
  601. tokenize: 1
  602. content: '{{ arguments.__FIELD_ID_year }}'
  603. pager_embed: 0
  604. plugin_id: calendar_header
  605. calendar_header:
  606. id: calendar_header
  607. table: views
  608. field: calendar_header
  609. relationship: none
  610. group_type: group
  611. admin_label: 'Calendar Pager'
  612. empty: true
  613. tokenize: 1
  614. content: ''
  615. pager_embed: 1
  616. plugin_id: calendar_header
  617. arguments:
  618. __FIELD_ID_year:
  619. id: __FIELD_ID_year
  620. table: __BASE_TABLE
  621. field: __FIELD_ID_year
  622. relationship: none
  623. group_type: group
  624. admin_label: ''
  625. default_action: default
  626. exception:
  627. value: all
  628. title_enable: false
  629. title: All
  630. title_enable: false
  631. title: ''
  632. default_argument_type: date
  633. default_argument_options: { }
  634. default_argument_skip_url: false
  635. summary_options:
  636. base_path: ''
  637. count: true
  638. items_per_page: 25
  639. override: false
  640. summary:
  641. sort_order: asc
  642. number_of_records: 0
  643. format: default_summary
  644. specify_validation: true
  645. validate:
  646. type: calendar
  647. fail: 'not found'
  648. validate_options:
  649. replacement_format: 'Y'
  650. entity_type: __ENTITY_TYPE
  651. plugin_id: date_year
  652. path: __BASE_PATH/year
  653. menu:
  654. type: tab
  655. title: Year
  656. description: ''
  657. expanded: false
  658. parent: ''
  659. weight: 0
  660. context: '0'
  661. menu_name: main