You are here

calendar_config_field.yml in Calendar 8

views_templates/calendar_config_field.yml

File

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