views.data_types.schema.yml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. # Basic data types for views.
  2. views_display:
  3. type: mapping
  4. label: 'Display options'
  5. mapping:
  6. enabled:
  7. type: boolean
  8. label: 'Status'
  9. title:
  10. type: text
  11. label: 'Display title'
  12. format:
  13. type: string
  14. label: 'Format'
  15. fields:
  16. type: sequence
  17. label: 'Fields'
  18. sequence:
  19. type: views.field.[plugin_id]
  20. pager:
  21. type: mapping
  22. label: 'Pager'
  23. mapping:
  24. type:
  25. type: string
  26. label: 'Pager type'
  27. options:
  28. type: views.pager.[%parent.type]
  29. exposed_form:
  30. type: mapping
  31. label: 'Exposed form'
  32. mapping:
  33. type:
  34. type: string
  35. label: 'Exposed form type'
  36. options:
  37. label: 'Options'
  38. type: views.exposed_form.[%parent.type]
  39. access:
  40. type: mapping
  41. label: 'Access'
  42. mapping:
  43. type:
  44. type: string
  45. label: 'Access type'
  46. options:
  47. type: views.access.[%parent.type]
  48. cache:
  49. type: views.cache.[type]
  50. empty:
  51. type: sequence
  52. label: 'No results behavior'
  53. sequence:
  54. type: views.area.[plugin_id]
  55. sorts:
  56. type: sequence
  57. label: 'Sorts'
  58. sequence:
  59. type: views.sort.[plugin_id]
  60. arguments:
  61. type: sequence
  62. label: 'Arguments'
  63. sequence:
  64. type: views.argument.[plugin_id]
  65. filters:
  66. type: sequence
  67. label: 'Filters'
  68. sequence:
  69. type: views.filter.[plugin_id]
  70. filter_groups:
  71. type: mapping
  72. label: 'Groups'
  73. mapping:
  74. operator:
  75. type: string
  76. label: 'Operator'
  77. groups:
  78. type: sequence
  79. label: 'Groups'
  80. sequence:
  81. type: string
  82. label: 'Operator'
  83. style:
  84. type: mapping
  85. label: 'Format'
  86. mapping:
  87. type:
  88. type: string
  89. label: 'Type'
  90. options:
  91. type: views.style.[%parent.type]
  92. row:
  93. type: mapping
  94. label: 'Row'
  95. mapping:
  96. type:
  97. type: string
  98. label: 'Row type'
  99. options:
  100. type: views.row.[%parent.type]
  101. query:
  102. type: mapping
  103. label: 'Query'
  104. mapping:
  105. type:
  106. type: string
  107. label: 'Query type'
  108. options:
  109. type: views.query.[%parent.type]
  110. defaults:
  111. type: mapping
  112. label: 'Defaults'
  113. mapping:
  114. empty:
  115. type: boolean
  116. label: 'Empty'
  117. access:
  118. type: boolean
  119. label: 'Access restrictions'
  120. cache:
  121. type: boolean
  122. label: 'Caching'
  123. query:
  124. type: boolean
  125. label: 'Query options'
  126. title:
  127. type: boolean
  128. label: 'Title'
  129. css_class:
  130. type: boolean
  131. label: 'CSS class'
  132. display_description:
  133. type: boolean
  134. label: 'Administrative description'
  135. use_ajax:
  136. type: boolean
  137. label: 'Use AJAX'
  138. hide_attachment_summary:
  139. type: boolean
  140. label: 'Hide attachments when displaying a contextual filter summary'
  141. show_admin_links:
  142. type: boolean
  143. label: 'Show contextual links'
  144. pager:
  145. type: boolean
  146. label: 'Use pager'
  147. use_more:
  148. type: boolean
  149. label: 'Create more link'
  150. use_more_always:
  151. type: boolean
  152. label: 'Display ''more'' link only if there is more content'
  153. use_more_text:
  154. type: boolean
  155. label: 'The text to display for the more link.'
  156. exposed_form:
  157. type: boolean
  158. label: 'Exposed form style'
  159. link_display:
  160. type: boolean
  161. label: 'Link display'
  162. link_url:
  163. type: boolean
  164. label: 'Link URL'
  165. group_by:
  166. type: boolean
  167. label: 'Aggregate'
  168. style:
  169. type: boolean
  170. label: 'Style'
  171. row:
  172. type: boolean
  173. label: 'Row'
  174. relationships:
  175. type: boolean
  176. label: 'Relationships'
  177. fields:
  178. type: boolean
  179. label: 'Fields'
  180. sorts:
  181. type: boolean
  182. label: 'Sorts'
  183. arguments:
  184. type: boolean
  185. label: 'Arguments'
  186. filters:
  187. type: boolean
  188. label: 'Filters'
  189. filter_groups:
  190. type: boolean
  191. label: 'Filter groups'
  192. header:
  193. type: boolean
  194. label: 'Header'
  195. footer:
  196. type: boolean
  197. label: 'Footer'
  198. relationships:
  199. type: sequence
  200. label: 'Relationships'
  201. sequence:
  202. type: views.relationship.[plugin_id]
  203. css_class:
  204. type: string
  205. label: 'CSS class'
  206. use_ajax:
  207. type: boolean
  208. label: 'Use AJAX'
  209. group_by:
  210. type: boolean
  211. label: 'Aggregate'
  212. display_description:
  213. type: label
  214. label: 'Administrative description'
  215. show_admin_links:
  216. type: boolean
  217. label: 'Show contextual links'
  218. use_more:
  219. type: boolean
  220. label: 'Create more link'
  221. use_more_always:
  222. type: boolean
  223. label: 'Display ''more'' link only if there is more content'
  224. use_more_text:
  225. type: label
  226. label: 'The text to display for the more link.'
  227. link_display:
  228. type: string
  229. label: 'Link display'
  230. link_url:
  231. type: string
  232. label: 'Link URL'
  233. header:
  234. type: sequence
  235. label: 'Header'
  236. sequence:
  237. type: views.area.[plugin_id]
  238. footer:
  239. type: sequence
  240. label: 'Footer'
  241. sequence:
  242. type: views.area.[plugin_id]
  243. display_comment:
  244. type: label
  245. label: 'Display comment'
  246. hide_attachment_summary:
  247. type: boolean
  248. label: 'Hide attachments in summary'
  249. rendering_language:
  250. type: string
  251. label: 'Entity language'
  252. exposed_block:
  253. type: boolean
  254. label: 'Put the exposed form in a block'
  255. display_extenders:
  256. type: sequence
  257. label: 'Display extenders'
  258. sequence:
  259. type: views.display_extender.[%key]
  260. views_sort:
  261. type: views_handler
  262. label: 'Sort criteria'
  263. mapping:
  264. order:
  265. type: string
  266. label: 'Sort order'
  267. expose:
  268. type: views.sort_expose.[%parent.plugin_id]
  269. exposed:
  270. type: boolean
  271. label: 'Expose this sort to visitors, to allow them to change it'
  272. plugin_id:
  273. type: string
  274. label: 'Plugin ID'
  275. views_sort_expose:
  276. type: mapping
  277. mapping:
  278. label:
  279. type: label
  280. label: 'Label'
  281. views_area:
  282. type: views_handler
  283. label: 'Area'
  284. mapping:
  285. label:
  286. type: label
  287. label: 'A string to identify the area instance in the admin UI.'
  288. empty:
  289. type: boolean
  290. label: 'Should the area be displayed on empty results.'
  291. plugin_id:
  292. type: string
  293. label: 'Plugin ID'
  294. views_handler:
  295. type: mapping
  296. mapping:
  297. id:
  298. type: string
  299. label: 'A unique ID per handler type'
  300. table:
  301. type: string
  302. label: 'The views_data table for this handler'
  303. field:
  304. type: string
  305. label: 'The views_data field for this handler'
  306. relationship:
  307. type: string
  308. label: 'The ID of the relationship instance used by this handler'
  309. group_type:
  310. type: string
  311. label: 'A sql aggregation type'
  312. admin_label:
  313. type: label
  314. label: 'A string to identify the handler instance in the admin UI.'
  315. entity_type:
  316. type: string
  317. label: 'The entity type'
  318. entity_field:
  319. type: string
  320. label: 'The corresponding entity field'
  321. plugin_id:
  322. type: string
  323. label: 'The plugin ID'
  324. views_argument:
  325. type: views_handler
  326. label: 'Argument'
  327. mapping:
  328. default_action:
  329. type: string
  330. label: 'When the filter value is NOT available'
  331. exception:
  332. type: mapping
  333. label: 'Exception value'
  334. mapping:
  335. value:
  336. type: string
  337. label: 'Value'
  338. title_enable:
  339. type: boolean
  340. label: 'Override title'
  341. title:
  342. type: label
  343. label: 'Title'
  344. title_enable:
  345. type: boolean
  346. label: 'Override title'
  347. title:
  348. type: label
  349. label: 'Overridden title'
  350. default_argument_type:
  351. type: string
  352. label: 'Type'
  353. default_argument_options:
  354. type: views.argument_default.[%parent.default_argument_type]
  355. label: 'Default argument options'
  356. default_argument_skip_url:
  357. type: boolean
  358. label: 'Skip default argument for view URL'
  359. summary_options:
  360. type: views.style.[%parent.summary.format]
  361. label: 'Summary options'
  362. summary:
  363. type: mapping
  364. label: 'Display a summary'
  365. mapping:
  366. sort_order:
  367. type: string
  368. label: 'Sort order'
  369. number_of_records:
  370. type: integer
  371. label: 'Sort by'
  372. format:
  373. type: string
  374. label: 'Format'
  375. specify_validation:
  376. type: boolean
  377. label: 'Specify validation criteria'
  378. validate:
  379. type: mapping
  380. label: 'Validation settings'
  381. mapping:
  382. type:
  383. type: string
  384. label: 'Validator'
  385. fail:
  386. type: string
  387. label: 'Action to take if filter value does not validate'
  388. validate_options:
  389. type: views.argument_validator.[%parent.validate.type]
  390. label: 'Validate options'
  391. glossary:
  392. type: boolean
  393. label: 'Glossary mode'
  394. limit:
  395. type: integer
  396. label: 'Character limit'
  397. case:
  398. type: string
  399. label: 'Case'
  400. path_case:
  401. type: string
  402. label: 'Case in path'
  403. transform_dash:
  404. type: boolean
  405. label: 'Transform spaces to dashes in URL'
  406. break_phrase:
  407. type: boolean
  408. label: 'Allow multiple values'
  409. plugin_id:
  410. type: string
  411. label: 'Plugin ID'
  412. views_exposed_form:
  413. type: mapping
  414. mapping:
  415. submit_button:
  416. type: label
  417. label: 'Submit button text'
  418. reset_button:
  419. type: boolean
  420. label: 'Include reset button'
  421. reset_button_label:
  422. type: label
  423. label: 'Reset button label'
  424. exposed_sorts_label:
  425. type: label
  426. label: 'Exposed sorts label'
  427. expose_sort_order:
  428. type: boolean
  429. label: 'Expose sort order'
  430. sort_asc_label:
  431. type: label
  432. label: 'Ascending'
  433. sort_desc_label:
  434. type: label
  435. label: 'Descending'
  436. views_field:
  437. type: views_handler
  438. mapping:
  439. label:
  440. type: label
  441. label: 'Create a label'
  442. exclude:
  443. type: boolean
  444. label: 'Exclude from display'
  445. alter:
  446. type: mapping
  447. label: 'Rewrite results'
  448. mapping:
  449. alter_text:
  450. type: boolean
  451. label: 'Override the output of this field with custom text'
  452. text:
  453. type: text
  454. label: 'Text'
  455. make_link:
  456. type: boolean
  457. label: 'Output this field as a custom link'
  458. path:
  459. type: string
  460. label: 'Link path'
  461. absolute:
  462. type: boolean
  463. label: 'Use absolute path'
  464. external:
  465. type: boolean
  466. label: 'External server URL'
  467. replace_spaces:
  468. type: boolean
  469. label: 'Replace spaces with dashes'
  470. path_case:
  471. type: string
  472. label: 'Transform the case'
  473. trim_whitespace:
  474. type: boolean
  475. label: 'Remove whitespace'
  476. alt:
  477. type: label
  478. label: 'Title text'
  479. rel:
  480. type: string
  481. label: 'Rel Text'
  482. link_class:
  483. type: string
  484. label: 'Link class'
  485. prefix:
  486. type: label
  487. label: 'Prefix text'
  488. suffix:
  489. type: label
  490. label: 'Suffix text'
  491. target:
  492. type: string
  493. label: 'Target'
  494. nl2br:
  495. type: boolean
  496. label: 'Convert newlines to HTML <br> tags'
  497. max_length:
  498. type: integer
  499. label: 'Maximum number of characters'
  500. word_boundary:
  501. type: boolean
  502. label: 'Trim only on a word boundary'
  503. ellipsis:
  504. type: boolean
  505. label: 'Add "…" at the end of trimmed text'
  506. more_link:
  507. type: boolean
  508. label: 'Add a read-more link if output is trimmed'
  509. more_link_text:
  510. type: label
  511. label: 'More link label'
  512. more_link_path:
  513. type: string
  514. label: 'More link path'
  515. strip_tags:
  516. type: boolean
  517. label: 'Strip HTML tags'
  518. trim:
  519. type: boolean
  520. label: 'Trim this field to a maximum number of characters'
  521. preserve_tags:
  522. type: string
  523. label: 'Preserve certain tags'
  524. html:
  525. type: boolean
  526. label: 'Field can contain HTML'
  527. element_type:
  528. type: string
  529. label: 'HTML element'
  530. element_class:
  531. type: string
  532. label: 'CSS class'
  533. element_label_type:
  534. type: string
  535. label: 'Label HTML element'
  536. element_label_class:
  537. type: string
  538. label: 'CSS class'
  539. element_label_colon:
  540. type: boolean
  541. label: 'Place a colon after the label'
  542. element_wrapper_type:
  543. type: string
  544. label: 'Wrapper HTML element'
  545. element_wrapper_class:
  546. type: string
  547. label: 'CSS class'
  548. element_default_classes:
  549. type: boolean
  550. label: 'Add default classes'
  551. empty:
  552. type: string
  553. label: 'No results text'
  554. hide_empty:
  555. type: boolean
  556. label: 'Hide if empty'
  557. empty_zero:
  558. type: boolean
  559. label: 'Count the number 0 as empty'
  560. hide_alter_empty:
  561. type: boolean
  562. label: 'Hide rewriting if empty'
  563. destination:
  564. type: boolean
  565. label: 'Append a destination query string to operation links.'
  566. plugin_id:
  567. type: string
  568. label: 'Plugin ID'
  569. views_pager:
  570. type: mapping
  571. label: 'Pager'
  572. mapping:
  573. offset:
  574. type: integer
  575. label: 'Offset'
  576. items_per_page:
  577. type: integer
  578. label: 'Items per page'
  579. views_pager_sql:
  580. type: views_pager
  581. label: 'SQL pager'
  582. mapping:
  583. items_per_page:
  584. type: integer
  585. label: 'Items per page'
  586. total_pages:
  587. type: integer
  588. label: 'Number of pages'
  589. id:
  590. type: integer
  591. label: 'Pager ID'
  592. tags:
  593. type: mapping
  594. label: 'Pager link labels'
  595. mapping:
  596. next:
  597. type: label
  598. label: 'Next page link text'
  599. previous:
  600. type: label
  601. label: 'Previous page link text'
  602. quantity:
  603. type: integer
  604. label: 'Number of pager links visible'
  605. expose:
  606. type: mapping
  607. label: 'Exposed options'
  608. mapping:
  609. items_per_page:
  610. type: boolean
  611. label: 'Items per page'
  612. items_per_page_label:
  613. type: label
  614. label: 'Items per page label'
  615. items_per_page_options:
  616. type: string
  617. label: 'Exposed items per page options'
  618. items_per_page_options_all:
  619. type: boolean
  620. label: 'Include all items option'
  621. items_per_page_options_all_label:
  622. type: label
  623. label: 'All items label'
  624. offset:
  625. type: boolean
  626. label: 'Expose Offset'
  627. offset_label:
  628. type: label
  629. label: 'Offset label'
  630. views_style:
  631. type: mapping
  632. mapping:
  633. grouping:
  634. type: sequence
  635. label: 'Grouping field number %i'
  636. sequence:
  637. type: mapping
  638. label: 'Field'
  639. mapping:
  640. field:
  641. type: string
  642. label: 'Field'
  643. rendered:
  644. type: boolean
  645. label: 'Use rendered output to group rows'
  646. rendered_strip:
  647. type: boolean
  648. label: 'Remove tags from rendered output'
  649. row_class:
  650. type: string
  651. label: 'Row class'
  652. default_row_class:
  653. type: boolean
  654. label: 'Add views row classes'
  655. uses_fields:
  656. type: boolean
  657. label: 'Force using fields'
  658. views_filter:
  659. type: views_handler
  660. mapping:
  661. operator:
  662. type: string
  663. label: 'Operator'
  664. value:
  665. type: views.filter_value.[%parent.plugin_id]
  666. label: 'Value'
  667. group:
  668. type: integer
  669. label: 'Group'
  670. exposed:
  671. type: boolean
  672. label: 'Expose this filter to visitors, to allow them to change it'
  673. expose:
  674. type: mapping
  675. label: 'Expose'
  676. mapping:
  677. operator_id:
  678. type: string
  679. label: 'Operator identifier'
  680. label:
  681. type: label
  682. label: 'Label'
  683. description:
  684. type: label
  685. label: 'Description'
  686. use_operator:
  687. type: boolean
  688. label: 'Expose operator'
  689. operator:
  690. type: string
  691. label: 'Operator'
  692. identifier:
  693. type: string
  694. label: 'Filter identifier'
  695. required:
  696. type: boolean
  697. label: 'Required'
  698. remember:
  699. type: boolean
  700. label: 'Remember the last selection'
  701. multiple:
  702. type: boolean
  703. label: 'Allow multiple selections'
  704. remember_roles:
  705. type: sequence
  706. label: 'User roles'
  707. sequence:
  708. type: string
  709. label: 'Role'
  710. is_grouped:
  711. type: boolean
  712. label: 'Grouped filters'
  713. group_info:
  714. type: mapping
  715. label: 'Group'
  716. mapping:
  717. label:
  718. type: label
  719. label: 'Label'
  720. description:
  721. type: label
  722. label: 'Description'
  723. identifier:
  724. type: string
  725. label: 'Identifier'
  726. optional:
  727. type: boolean
  728. label: 'Optional'
  729. widget:
  730. type: string
  731. label: 'Widget type'
  732. multiple:
  733. type: boolean
  734. label: 'Allow multiple selections'
  735. remember:
  736. type: boolean
  737. label: 'Remember'
  738. default_group:
  739. type: string
  740. label: 'Default'
  741. default_group_multiple:
  742. type: sequence
  743. label: 'Defaults'
  744. sequence:
  745. type: integer
  746. label: 'Default'
  747. group_items:
  748. type: sequence
  749. label: 'Group items'
  750. sequence:
  751. type: views.filter.group_item.[%parent.%parent.%parent.plugin_id]
  752. label: 'Group item'
  753. plugin_id:
  754. type: string
  755. label: 'Plugin ID'
  756. views_filter_group_item:
  757. type: mapping
  758. label: 'Group item'
  759. mapping:
  760. title:
  761. type: label
  762. label: 'Label'
  763. operator:
  764. type: string
  765. label: 'Operator'
  766. value:
  767. type: views.filter_value.[%parent.%parent.%parent.%parent.plugin_id]
  768. label: 'Value'
  769. views_relationship:
  770. type: views_handler
  771. mapping:
  772. admin_label:
  773. type: string
  774. label: 'Administrative title'
  775. required:
  776. type: boolean
  777. label: 'Require this relationship'
  778. views_query:
  779. type: mapping
  780. label: 'Query options'
  781. views_row:
  782. type: mapping
  783. label: 'Row options'
  784. mapping:
  785. relationship:
  786. type: string
  787. label: 'Relationship'
  788. views_entity_row:
  789. type: views_row
  790. mapping:
  791. view_mode:
  792. type: string
  793. label: 'View mode'
  794. views_cache:
  795. type: mapping
  796. label: 'Cache configuration'
  797. mapping:
  798. type:
  799. type: string
  800. label: 'Cache type'
  801. views_display_extender:
  802. type: mapping
  803. label: 'Display extender settings'
  804. views_field_bulk_form:
  805. type: views_field
  806. label: 'Bulk operation'
  807. mapping:
  808. action_title:
  809. type: label
  810. label: 'Action title'
  811. include_exclude:
  812. type: string
  813. label: 'Available actions'
  814. selected_actions:
  815. type: sequence
  816. label: 'Available actions'
  817. sequence:
  818. type: string
  819. label: 'Action'