views.data_types.schema.yml

Same filename in other branches
  1. 8.9.x core/modules/views/config/schema/views.data_types.schema.yml
  2. 10 core/modules/views/config/schema/views.data_types.schema.yml
  3. 11.x core/modules/views/config/schema/views.data_types.schema.yml
core/modules/views/config/schema/views.data_types.schema.yml

File

core/modules/views/config/schema/views.data_types.schema.yml

View source
  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: text
  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. field_identifier:
  282. type: string
  283. label: 'Field identifier'
  284. views_area:
  285. type: views_handler
  286. label: 'Area'
  287. mapping:
  288. label:
  289. type: label
  290. label: 'A string to identify the area instance in the admin UI.'
  291. empty:
  292. type: boolean
  293. label: 'Should the area be displayed on empty results.'
  294. plugin_id:
  295. type: string
  296. label: 'Plugin ID'
  297. views_handler:
  298. type: mapping
  299. mapping:
  300. id:
  301. type: string
  302. label: 'A unique ID per handler type'
  303. table:
  304. type: string
  305. label: 'The views_data table for this handler'
  306. field:
  307. type: string
  308. label: 'The views_data field for this handler'
  309. relationship:
  310. type: string
  311. label: 'The ID of the relationship instance used by this handler'
  312. group_type:
  313. type: string
  314. label: 'A sql aggregation type'
  315. admin_label:
  316. type: label
  317. label: 'A string to identify the handler instance in the admin UI.'
  318. entity_type:
  319. type: string
  320. label: 'The entity type'
  321. entity_field:
  322. type: string
  323. label: 'The corresponding entity field'
  324. plugin_id:
  325. type: string
  326. label: 'The plugin ID'
  327. views_argument:
  328. type: views_handler
  329. label: 'Argument'
  330. mapping:
  331. default_action:
  332. type: string
  333. label: 'When the filter value is NOT available'
  334. exception:
  335. type: mapping
  336. label: 'Exception value'
  337. mapping:
  338. value:
  339. type: string
  340. label: 'Value'
  341. title_enable:
  342. type: boolean
  343. label: 'Override title'
  344. title:
  345. type: label
  346. label: 'Title'
  347. title_enable:
  348. type: boolean
  349. label: 'Override title'
  350. title:
  351. type: label
  352. label: 'Overridden title'
  353. default_argument_type:
  354. type: string
  355. label: 'Type'
  356. default_argument_options:
  357. type: views.argument_default.[%parent.default_argument_type]
  358. label: 'Default argument options'
  359. default_argument_skip_url:
  360. type: boolean
  361. label: 'Skip default argument for view URL'
  362. summary_options:
  363. type: views.style.[%parent.summary.format]
  364. label: 'Summary options'
  365. summary:
  366. type: mapping
  367. label: 'Display a summary'
  368. mapping:
  369. sort_order:
  370. type: string
  371. label: 'Sort order'
  372. number_of_records:
  373. type: integer
  374. label: 'Sort by'
  375. format:
  376. type: string
  377. label: 'Format'
  378. specify_validation:
  379. type: boolean
  380. label: 'Specify validation criteria'
  381. validate:
  382. type: mapping
  383. label: 'Validation settings'
  384. mapping:
  385. type:
  386. type: string
  387. label: 'Validator'
  388. fail:
  389. type: string
  390. label: 'Action to take if filter value does not validate'
  391. validate_options:
  392. type: views.argument_validator.[%parent.validate.type]
  393. label: 'Validate options'
  394. glossary:
  395. type: boolean
  396. label: 'Glossary mode'
  397. limit:
  398. type: integer
  399. label: 'Character limit'
  400. case:
  401. type: string
  402. label: 'Case'
  403. path_case:
  404. type: string
  405. label: 'Case in path'
  406. transform_dash:
  407. type: boolean
  408. label: 'Transform spaces to dashes in URL'
  409. break_phrase:
  410. type: boolean
  411. label: 'Allow multiple values'
  412. plugin_id:
  413. type: string
  414. label: 'Plugin ID'
  415. views_exposed_form:
  416. type: mapping
  417. mapping:
  418. submit_button:
  419. type: label
  420. label: 'Submit button text'
  421. reset_button:
  422. type: boolean
  423. label: 'Include reset button'
  424. reset_button_label:
  425. type: label
  426. label: 'Reset button label'
  427. exposed_sorts_label:
  428. type: label
  429. label: 'Exposed sorts label'
  430. expose_sort_order:
  431. type: boolean
  432. label: 'Expose sort order'
  433. sort_asc_label:
  434. type: label
  435. label: 'Ascending'
  436. sort_desc_label:
  437. type: label
  438. label: 'Descending'
  439. views_field:
  440. type: views_handler
  441. mapping:
  442. label:
  443. type: label
  444. label: 'Create a label'
  445. exclude:
  446. type: boolean
  447. label: 'Exclude from display'
  448. alter:
  449. type: mapping
  450. label: 'Rewrite results'
  451. mapping:
  452. alter_text:
  453. type: boolean
  454. label: 'Override the output of this field with custom text'
  455. text:
  456. type: text
  457. label: 'Text'
  458. make_link:
  459. type: boolean
  460. label: 'Output this field as a custom link'
  461. path:
  462. type: text
  463. label: 'Link path'
  464. absolute:
  465. type: boolean
  466. label: 'Use absolute path'
  467. external:
  468. type: boolean
  469. label: 'External server URL'
  470. replace_spaces:
  471. type: boolean
  472. label: 'Replace spaces with dashes'
  473. path_case:
  474. type: string
  475. label: 'Transform the case'
  476. trim_whitespace:
  477. type: boolean
  478. label: 'Remove whitespace'
  479. alt:
  480. type: label
  481. label: 'Title text'
  482. rel:
  483. type: string
  484. label: 'Rel Text'
  485. link_class:
  486. type: string
  487. label: 'Link class'
  488. prefix:
  489. type: label
  490. label: 'Prefix text'
  491. suffix:
  492. type: label
  493. label: 'Suffix text'
  494. target:
  495. type: string
  496. label: 'Target'
  497. nl2br:
  498. type: boolean
  499. label: 'Convert newlines to HTML <br> tags'
  500. max_length:
  501. type: integer
  502. label: 'Maximum number of characters'
  503. word_boundary:
  504. type: boolean
  505. label: 'Trim only on a word boundary'
  506. ellipsis:
  507. type: boolean
  508. label: 'Add "…" at the end of trimmed text'
  509. more_link:
  510. type: boolean
  511. label: 'Add a read-more link if output is trimmed'
  512. more_link_text:
  513. type: label
  514. label: 'More link label'
  515. more_link_path:
  516. type: string
  517. label: 'More link path'
  518. strip_tags:
  519. type: boolean
  520. label: 'Strip HTML tags'
  521. trim:
  522. type: boolean
  523. label: 'Trim this field to a maximum number of characters'
  524. preserve_tags:
  525. type: string
  526. label: 'Preserve certain tags'
  527. html:
  528. type: boolean
  529. label: 'Field can contain HTML'
  530. element_type:
  531. type: string
  532. label: 'HTML element'
  533. element_class:
  534. type: string
  535. label: 'CSS class'
  536. element_label_type:
  537. type: string
  538. label: 'Label HTML element'
  539. element_label_class:
  540. type: string
  541. label: 'CSS class'
  542. element_label_colon:
  543. type: boolean
  544. label: 'Place a colon after the label'
  545. element_wrapper_type:
  546. type: string
  547. label: 'Wrapper HTML element'
  548. element_wrapper_class:
  549. type: string
  550. label: 'CSS class'
  551. element_default_classes:
  552. type: boolean
  553. label: 'Add default classes'
  554. empty:
  555. type: string
  556. label: 'No results text'
  557. hide_empty:
  558. type: boolean
  559. label: 'Hide if empty'
  560. empty_zero:
  561. type: boolean
  562. label: 'Count the number 0 as empty'
  563. hide_alter_empty:
  564. type: boolean
  565. label: 'Hide rewriting if empty'
  566. destination:
  567. type: boolean
  568. label: 'Append a destination query string to operation links.'
  569. plugin_id:
  570. type: string
  571. label: 'Plugin ID'
  572. views_pager:
  573. type: mapping
  574. label: 'Pager'
  575. mapping:
  576. offset:
  577. type: integer
  578. label: 'Offset'
  579. items_per_page:
  580. type: integer
  581. label: 'Items per page'
  582. views_pager_sql:
  583. type: views_pager
  584. label: 'SQL pager'
  585. mapping:
  586. items_per_page:
  587. type: integer
  588. label: 'Items per page'
  589. total_pages:
  590. type: integer
  591. label: 'Number of pages'
  592. id:
  593. type: integer
  594. label: 'Pager ID'
  595. tags:
  596. type: mapping
  597. label: 'Pager link labels'
  598. mapping:
  599. next:
  600. type: label
  601. label: 'Next page link text'
  602. previous:
  603. type: label
  604. label: 'Previous page link text'
  605. quantity:
  606. type: integer
  607. label: 'Number of pager links visible'
  608. expose:
  609. type: mapping
  610. label: 'Exposed options'
  611. mapping:
  612. items_per_page:
  613. type: boolean
  614. label: 'Items per page'
  615. items_per_page_label:
  616. type: label
  617. label: 'Items per page label'
  618. items_per_page_options:
  619. type: string
  620. label: 'Exposed items per page options'
  621. items_per_page_options_all:
  622. type: boolean
  623. label: 'Include all items option'
  624. items_per_page_options_all_label:
  625. type: label
  626. label: 'All items label'
  627. offset:
  628. type: boolean
  629. label: 'Expose Offset'
  630. offset_label:
  631. type: label
  632. label: 'Offset label'
  633. views_style:
  634. type: mapping
  635. mapping:
  636. grouping:
  637. type: sequence
  638. label: 'Grouping field number %i'
  639. sequence:
  640. type: mapping
  641. label: 'Field'
  642. mapping:
  643. field:
  644. type: string
  645. label: 'Field'
  646. rendered:
  647. type: boolean
  648. label: 'Use rendered output to group rows'
  649. rendered_strip:
  650. type: boolean
  651. label: 'Remove tags from rendered output'
  652. row_class:
  653. type: string
  654. label: 'Row class'
  655. default_row_class:
  656. type: boolean
  657. label: 'Add views row classes'
  658. uses_fields:
  659. type: boolean
  660. label: 'Force using fields'
  661. views_filter:
  662. type: views_handler
  663. mapping:
  664. operator:
  665. type: string
  666. label: 'Operator'
  667. value:
  668. type: views.filter_value.[%parent.plugin_id]
  669. label: 'Value'
  670. group:
  671. type: integer
  672. label: 'Group'
  673. exposed:
  674. type: boolean
  675. label: 'Expose this filter to visitors, to allow them to change it'
  676. expose:
  677. type: mapping
  678. label: 'Expose'
  679. mapping:
  680. operator_id:
  681. type: string
  682. label: 'Operator identifier'
  683. label:
  684. type: label
  685. label: 'Label'
  686. description:
  687. type: label
  688. label: 'Description'
  689. use_operator:
  690. type: boolean
  691. label: 'Expose operator'
  692. operator:
  693. type: string
  694. label: 'Operator'
  695. operator_limit_selection:
  696. type: boolean
  697. label: 'Limit the available operators'
  698. operator_list:
  699. type: sequence
  700. label: 'List of available operators'
  701. sequence:
  702. type: string
  703. label: 'Operator'
  704. identifier:
  705. type: string
  706. label: 'Filter identifier'
  707. required:
  708. type: boolean
  709. label: 'Required'
  710. remember:
  711. type: boolean
  712. label: 'Remember the last selection'
  713. multiple:
  714. type: boolean
  715. label: 'Allow multiple selections'
  716. remember_roles:
  717. type: sequence
  718. label: 'User roles'
  719. sequence:
  720. type: string
  721. label: 'Role'
  722. is_grouped:
  723. type: boolean
  724. label: 'Grouped filters'
  725. group_info:
  726. type: mapping
  727. label: 'Group'
  728. mapping:
  729. label:
  730. type: label
  731. label: 'Label'
  732. description:
  733. type: label
  734. label: 'Description'
  735. identifier:
  736. type: string
  737. label: 'Identifier'
  738. optional:
  739. type: boolean
  740. label: 'Optional'
  741. widget:
  742. type: string
  743. label: 'Widget type'
  744. multiple:
  745. type: boolean
  746. label: 'Allow multiple selections'
  747. remember:
  748. type: boolean
  749. label: 'Remember'
  750. default_group:
  751. type: string
  752. label: 'Default'
  753. default_group_multiple:
  754. type: sequence
  755. label: 'Defaults'
  756. sequence:
  757. type: integer
  758. label: 'Default'
  759. group_items:
  760. type: sequence
  761. label: 'Group items'
  762. sequence:
  763. type: views.filter.group_item.[%parent.%parent.%parent.plugin_id]
  764. label: 'Group item'
  765. plugin_id:
  766. type: string
  767. label: 'Plugin ID'
  768. views_filter_group_item:
  769. type: mapping
  770. label: 'Group item'
  771. mapping:
  772. title:
  773. type: label
  774. label: 'Label'
  775. operator:
  776. type: string
  777. label: 'Operator'
  778. value:
  779. type: views.filter_value.[%parent.%parent.%parent.%parent.plugin_id]
  780. label: 'Value'
  781. views_relationship:
  782. type: views_handler
  783. mapping:
  784. admin_label:
  785. type: string
  786. label: 'Administrative title'
  787. required:
  788. type: boolean
  789. label: 'Require this relationship'
  790. views_query:
  791. type: mapping
  792. label: 'Query options'
  793. views_row:
  794. type: mapping
  795. label: 'Row options'
  796. mapping:
  797. relationship:
  798. type: string
  799. label: 'Relationship'
  800. views_entity_row:
  801. type: views_row
  802. mapping:
  803. view_mode:
  804. type: string
  805. label: 'View mode'
  806. views_cache:
  807. type: mapping
  808. label: 'Cache configuration'
  809. mapping:
  810. type:
  811. type: string
  812. label: 'Cache type'
  813. views_display_extender:
  814. type: mapping
  815. label: 'Display extender settings'
  816. views_field_bulk_form:
  817. type: views_field
  818. label: 'Bulk operation'
  819. mapping:
  820. action_title:
  821. type: label
  822. label: 'Action title'
  823. include_exclude:
  824. type: string
  825. label: 'Available actions'
  826. selected_actions:
  827. type: sequence
  828. label: 'Available actions'
  829. sequence:
  830. type: string
  831. label: 'Action'

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