views.view.media.yml

Same filename in this branch
  1. 8.9.x core/profiles/demo_umami/config/optional/views.view.media.yml
Same filename in other branches
  1. 9 core/profiles/demo_umami/config/optional/views.view.media.yml
  2. 9 core/modules/media/config/optional/views.view.media.yml
  3. 10 core/profiles/demo_umami/config/optional/views.view.media.yml
  4. 10 core/modules/media/config/optional/views.view.media.yml
  5. 11.x core/profiles/demo_umami/config/optional/views.view.media.yml
  6. 11.x core/modules/media/config/optional/views.view.media.yml
core/modules/media/config/optional/views.view.media.yml
1 string reference to 'views.view.media'
MediaUpdateTest::testMediaViewStatusExtraFilter in core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php
Tests that the status extra filter is added to the media view.

File

core/modules/media/config/optional/views.view.media.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - image.style.thumbnail
  6. module:
  7. - image
  8. - media
  9. - user
  10. id: media
  11. label: Media
  12. module: views
  13. description: 'Find and manage media.'
  14. tag: ''
  15. base_table: media_field_data
  16. base_field: mid
  17. display:
  18. default:
  19. display_plugin: default
  20. id: default
  21. display_title: Master
  22. position: 0
  23. display_options:
  24. access:
  25. type: perm
  26. options:
  27. perm: 'access media overview'
  28. cache:
  29. type: tag
  30. options: { }
  31. query:
  32. type: views_query
  33. options:
  34. disable_sql_rewrite: false
  35. distinct: false
  36. replica: false
  37. query_comment: ''
  38. query_tags: { }
  39. exposed_form:
  40. type: basic
  41. options:
  42. submit_button: Filter
  43. reset_button: false
  44. reset_button_label: Reset
  45. exposed_sorts_label: 'Sort by'
  46. expose_sort_order: true
  47. sort_asc_label: Asc
  48. sort_desc_label: Desc
  49. pager:
  50. type: full
  51. options:
  52. items_per_page: 50
  53. offset: 0
  54. id: 0
  55. total_pages: null
  56. expose:
  57. items_per_page: false
  58. items_per_page_label: 'Items per page'
  59. items_per_page_options: '5, 10, 25, 50'
  60. items_per_page_options_all: false
  61. items_per_page_options_all_label: '- All -'
  62. offset: false
  63. offset_label: Offset
  64. tags:
  65. previous: '‹ Previous'
  66. next: 'Next ›'
  67. first: '« First'
  68. last: 'Last »'
  69. quantity: 9
  70. style:
  71. type: table
  72. options:
  73. grouping: { }
  74. row_class: ''
  75. default_row_class: true
  76. override: true
  77. sticky: false
  78. caption: ''
  79. summary: ''
  80. description: ''
  81. columns:
  82. name: name
  83. bundle: bundle
  84. changed: changed
  85. uid: uid
  86. status: status
  87. thumbnail__target_id: thumbnail__target_id
  88. info:
  89. name:
  90. sortable: true
  91. default_sort_order: asc
  92. align: ''
  93. separator: ''
  94. empty_column: false
  95. responsive: ''
  96. bundle:
  97. sortable: true
  98. default_sort_order: asc
  99. align: ''
  100. separator: ''
  101. empty_column: false
  102. responsive: ''
  103. changed:
  104. sortable: true
  105. default_sort_order: desc
  106. align: ''
  107. separator: ''
  108. empty_column: false
  109. responsive: ''
  110. uid:
  111. sortable: false
  112. default_sort_order: asc
  113. align: ''
  114. separator: ''
  115. empty_column: false
  116. responsive: ''
  117. status:
  118. sortable: true
  119. default_sort_order: asc
  120. align: ''
  121. separator: ''
  122. empty_column: false
  123. responsive: ''
  124. thumbnail__target_id:
  125. sortable: false
  126. default_sort_order: asc
  127. align: ''
  128. separator: ''
  129. empty_column: false
  130. responsive: ''
  131. default: changed
  132. empty_table: true
  133. row:
  134. type: fields
  135. fields:
  136. media_bulk_form:
  137. id: media_bulk_form
  138. table: media
  139. field: media_bulk_form
  140. relationship: none
  141. group_type: group
  142. admin_label: ''
  143. label: ''
  144. exclude: false
  145. alter:
  146. alter_text: false
  147. text: ''
  148. make_link: false
  149. path: ''
  150. absolute: false
  151. external: false
  152. replace_spaces: false
  153. path_case: none
  154. trim_whitespace: false
  155. alt: ''
  156. rel: ''
  157. link_class: ''
  158. prefix: ''
  159. suffix: ''
  160. target: ''
  161. nl2br: false
  162. max_length: 0
  163. word_boundary: true
  164. ellipsis: true
  165. more_link: false
  166. more_link_text: ''
  167. more_link_path: ''
  168. strip_tags: false
  169. trim: false
  170. preserve_tags: ''
  171. html: false
  172. element_type: ''
  173. element_class: ''
  174. element_label_type: ''
  175. element_label_class: ''
  176. element_label_colon: false
  177. element_wrapper_type: ''
  178. element_wrapper_class: ''
  179. element_default_classes: true
  180. empty: ''
  181. hide_empty: false
  182. empty_zero: false
  183. hide_alter_empty: true
  184. action_title: Action
  185. include_exclude: exclude
  186. selected_actions: { }
  187. entity_type: media
  188. plugin_id: bulk_form
  189. thumbnail__target_id:
  190. id: thumbnail__target_id
  191. table: media_field_data
  192. field: thumbnail__target_id
  193. relationship: none
  194. group_type: group
  195. admin_label: ''
  196. label: Thumbnail
  197. exclude: false
  198. alter:
  199. alter_text: false
  200. text: ''
  201. make_link: false
  202. path: ''
  203. absolute: false
  204. external: false
  205. replace_spaces: false
  206. path_case: none
  207. trim_whitespace: false
  208. alt: ''
  209. rel: ''
  210. link_class: ''
  211. prefix: ''
  212. suffix: ''
  213. target: ''
  214. nl2br: false
  215. max_length: 0
  216. word_boundary: true
  217. ellipsis: true
  218. more_link: false
  219. more_link_text: ''
  220. more_link_path: ''
  221. strip_tags: false
  222. trim: false
  223. preserve_tags: ''
  224. html: false
  225. element_type: ''
  226. element_class: ''
  227. element_label_type: ''
  228. element_label_class: ''
  229. element_label_colon: true
  230. element_wrapper_type: ''
  231. element_wrapper_class: ''
  232. element_default_classes: true
  233. empty: ''
  234. hide_empty: false
  235. empty_zero: false
  236. hide_alter_empty: true
  237. click_sort_column: target_id
  238. type: image
  239. settings:
  240. image_style: thumbnail
  241. image_link: ''
  242. group_column: ''
  243. group_columns: { }
  244. group_rows: true
  245. delta_limit: 0
  246. delta_offset: 0
  247. delta_reversed: false
  248. delta_first_last: false
  249. multi_type: separator
  250. separator: ', '
  251. field_api_classes: false
  252. entity_type: media
  253. entity_field: thumbnail
  254. plugin_id: field
  255. name:
  256. id: name
  257. table: media_field_data
  258. field: name
  259. entity_type: media
  260. entity_field: media
  261. alter:
  262. alter_text: false
  263. make_link: false
  264. absolute: false
  265. trim: false
  266. word_boundary: false
  267. ellipsis: false
  268. strip_tags: false
  269. html: false
  270. hide_empty: false
  271. empty_zero: false
  272. settings:
  273. link_to_entity: true
  274. plugin_id: field
  275. relationship: none
  276. group_type: group
  277. admin_label: ''
  278. label: 'Media name'
  279. exclude: false
  280. element_type: ''
  281. element_class: ''
  282. element_label_type: ''
  283. element_label_class: ''
  284. element_label_colon: true
  285. element_wrapper_type: ''
  286. element_wrapper_class: ''
  287. element_default_classes: true
  288. empty: ''
  289. hide_alter_empty: true
  290. click_sort_column: value
  291. type: string
  292. group_column: value
  293. group_columns: { }
  294. group_rows: true
  295. delta_limit: 0
  296. delta_offset: 0
  297. delta_reversed: false
  298. delta_first_last: false
  299. multi_type: separator
  300. separator: ', '
  301. field_api_classes: false
  302. bundle:
  303. id: bundle
  304. table: media_field_data
  305. field: bundle
  306. relationship: none
  307. group_type: group
  308. admin_label: ''
  309. label: Type
  310. exclude: false
  311. alter:
  312. alter_text: false
  313. text: ''
  314. make_link: false
  315. path: ''
  316. absolute: false
  317. external: false
  318. replace_spaces: false
  319. path_case: none
  320. trim_whitespace: false
  321. alt: ''
  322. rel: ''
  323. link_class: ''
  324. prefix: ''
  325. suffix: ''
  326. target: ''
  327. nl2br: false
  328. max_length: 0
  329. word_boundary: true
  330. ellipsis: true
  331. more_link: false
  332. more_link_text: ''
  333. more_link_path: ''
  334. strip_tags: false
  335. trim: false
  336. preserve_tags: ''
  337. html: false
  338. element_type: ''
  339. element_class: ''
  340. element_label_type: ''
  341. element_label_class: ''
  342. element_label_colon: true
  343. element_wrapper_type: ''
  344. element_wrapper_class: ''
  345. element_default_classes: true
  346. empty: ''
  347. hide_empty: false
  348. empty_zero: false
  349. hide_alter_empty: true
  350. click_sort_column: target_id
  351. type: entity_reference_label
  352. settings:
  353. link: false
  354. group_column: target_id
  355. group_columns: { }
  356. group_rows: true
  357. delta_limit: 0
  358. delta_offset: 0
  359. delta_reversed: false
  360. delta_first_last: false
  361. multi_type: separator
  362. separator: ', '
  363. field_api_classes: false
  364. entity_type: media
  365. entity_field: bundle
  366. plugin_id: field
  367. uid:
  368. id: uid
  369. table: media_field_data
  370. field: uid
  371. relationship: none
  372. group_type: group
  373. admin_label: ''
  374. label: Author
  375. exclude: false
  376. alter:
  377. alter_text: false
  378. text: ''
  379. make_link: false
  380. path: ''
  381. absolute: false
  382. external: false
  383. replace_spaces: false
  384. path_case: none
  385. trim_whitespace: false
  386. alt: ''
  387. rel: ''
  388. link_class: ''
  389. prefix: ''
  390. suffix: ''
  391. target: ''
  392. nl2br: false
  393. max_length: 0
  394. word_boundary: true
  395. ellipsis: true
  396. more_link: false
  397. more_link_text: ''
  398. more_link_path: ''
  399. strip_tags: false
  400. trim: false
  401. preserve_tags: ''
  402. html: false
  403. element_type: ''
  404. element_class: ''
  405. element_label_type: ''
  406. element_label_class: ''
  407. element_label_colon: true
  408. element_wrapper_type: ''
  409. element_wrapper_class: ''
  410. element_default_classes: true
  411. empty: ''
  412. hide_empty: false
  413. empty_zero: false
  414. hide_alter_empty: true
  415. click_sort_column: target_id
  416. type: entity_reference_label
  417. settings:
  418. link: true
  419. group_column: target_id
  420. group_columns: { }
  421. group_rows: true
  422. delta_limit: 0
  423. delta_offset: 0
  424. delta_reversed: false
  425. delta_first_last: false
  426. multi_type: separator
  427. separator: ', '
  428. field_api_classes: false
  429. entity_type: media
  430. entity_field: uid
  431. plugin_id: field
  432. status:
  433. id: status
  434. table: media_field_data
  435. field: status
  436. relationship: none
  437. group_type: group
  438. admin_label: ''
  439. label: Status
  440. exclude: false
  441. alter:
  442. alter_text: false
  443. text: ''
  444. make_link: false
  445. path: ''
  446. absolute: false
  447. external: false
  448. replace_spaces: false
  449. path_case: none
  450. trim_whitespace: false
  451. alt: ''
  452. rel: ''
  453. link_class: ''
  454. prefix: ''
  455. suffix: ''
  456. target: ''
  457. nl2br: false
  458. max_length: 0
  459. word_boundary: true
  460. ellipsis: true
  461. more_link: false
  462. more_link_text: ''
  463. more_link_path: ''
  464. strip_tags: false
  465. trim: false
  466. preserve_tags: ''
  467. html: false
  468. element_type: ''
  469. element_class: ''
  470. element_label_type: ''
  471. element_label_class: ''
  472. element_label_colon: true
  473. element_wrapper_type: ''
  474. element_wrapper_class: ''
  475. element_default_classes: true
  476. empty: ''
  477. hide_empty: false
  478. empty_zero: false
  479. hide_alter_empty: true
  480. click_sort_column: value
  481. type: boolean
  482. settings:
  483. format: custom
  484. format_custom_true: Published
  485. format_custom_false: Unpublished
  486. group_column: value
  487. group_columns: { }
  488. group_rows: true
  489. delta_limit: 0
  490. delta_offset: 0
  491. delta_reversed: false
  492. delta_first_last: false
  493. multi_type: separator
  494. separator: ', '
  495. field_api_classes: false
  496. entity_type: media
  497. entity_field: status
  498. plugin_id: field
  499. changed:
  500. id: changed
  501. table: media_field_data
  502. field: changed
  503. relationship: none
  504. group_type: group
  505. admin_label: ''
  506. label: Updated
  507. exclude: false
  508. alter:
  509. alter_text: false
  510. text: ''
  511. make_link: false
  512. path: ''
  513. absolute: false
  514. external: false
  515. replace_spaces: false
  516. path_case: none
  517. trim_whitespace: false
  518. alt: ''
  519. rel: ''
  520. link_class: ''
  521. prefix: ''
  522. suffix: ''
  523. target: ''
  524. nl2br: false
  525. max_length: 0
  526. word_boundary: true
  527. ellipsis: true
  528. more_link: false
  529. more_link_text: ''
  530. more_link_path: ''
  531. strip_tags: false
  532. trim: false
  533. preserve_tags: ''
  534. html: false
  535. element_type: ''
  536. element_class: ''
  537. element_label_type: ''
  538. element_label_class: ''
  539. element_label_colon: true
  540. element_wrapper_type: ''
  541. element_wrapper_class: ''
  542. element_default_classes: true
  543. empty: ''
  544. hide_empty: false
  545. empty_zero: false
  546. hide_alter_empty: true
  547. click_sort_column: value
  548. type: timestamp
  549. settings:
  550. date_format: short
  551. custom_date_format: ''
  552. timezone: ''
  553. group_column: value
  554. group_columns: { }
  555. group_rows: true
  556. delta_limit: 0
  557. delta_offset: 0
  558. delta_reversed: false
  559. delta_first_last: false
  560. multi_type: separator
  561. separator: ', '
  562. field_api_classes: false
  563. entity_type: media
  564. entity_field: changed
  565. plugin_id: field
  566. operations:
  567. id: operations
  568. table: media
  569. field: operations
  570. relationship: none
  571. group_type: group
  572. admin_label: ''
  573. label: Operations
  574. exclude: false
  575. alter:
  576. alter_text: false
  577. text: ''
  578. make_link: false
  579. path: ''
  580. absolute: false
  581. external: false
  582. replace_spaces: false
  583. path_case: none
  584. trim_whitespace: false
  585. alt: ''
  586. rel: ''
  587. link_class: ''
  588. prefix: ''
  589. suffix: ''
  590. target: ''
  591. nl2br: false
  592. max_length: 0
  593. word_boundary: true
  594. ellipsis: true
  595. more_link: false
  596. more_link_text: ''
  597. more_link_path: ''
  598. strip_tags: false
  599. trim: false
  600. preserve_tags: ''
  601. html: false
  602. element_type: ''
  603. element_class: ''
  604. element_label_type: ''
  605. element_label_class: ''
  606. element_label_colon: true
  607. element_wrapper_type: ''
  608. element_wrapper_class: ''
  609. element_default_classes: true
  610. empty: ''
  611. hide_empty: false
  612. empty_zero: false
  613. hide_alter_empty: true
  614. destination: true
  615. entity_type: media
  616. plugin_id: entity_operations
  617. filters:
  618. name:
  619. id: name
  620. table: media_field_data
  621. field: name
  622. relationship: none
  623. group_type: group
  624. admin_label: ''
  625. operator: contains
  626. value: ''
  627. group: 1
  628. exposed: true
  629. expose:
  630. operator_id: name_op
  631. label: 'Media name'
  632. description: ''
  633. use_operator: false
  634. operator: name_op
  635. identifier: name
  636. required: false
  637. remember: false
  638. multiple: false
  639. remember_roles:
  640. authenticated: authenticated
  641. anonymous: '0'
  642. administrator: '0'
  643. operator_limit_selection: false
  644. operator_list: { }
  645. is_grouped: false
  646. group_info:
  647. label: ''
  648. description: ''
  649. identifier: ''
  650. optional: true
  651. widget: select
  652. multiple: false
  653. remember: false
  654. default_group: All
  655. default_group_multiple: { }
  656. group_items: { }
  657. entity_type: media
  658. entity_field: name
  659. plugin_id: string
  660. bundle:
  661. id: bundle
  662. table: media_field_data
  663. field: bundle
  664. relationship: none
  665. group_type: group
  666. admin_label: ''
  667. operator: in
  668. value: { }
  669. group: 1
  670. exposed: true
  671. expose:
  672. operator_id: bundle_op
  673. label: Type
  674. description: ''
  675. use_operator: false
  676. operator: bundle_op
  677. identifier: type
  678. required: false
  679. remember: false
  680. multiple: false
  681. remember_roles:
  682. authenticated: authenticated
  683. anonymous: '0'
  684. administrator: '0'
  685. reduce: false
  686. operator_limit_selection: false
  687. operator_list: { }
  688. is_grouped: false
  689. group_info:
  690. label: ''
  691. description: ''
  692. identifier: ''
  693. optional: true
  694. widget: select
  695. multiple: false
  696. remember: false
  697. default_group: All
  698. default_group_multiple: { }
  699. group_items: { }
  700. entity_type: media
  701. entity_field: bundle
  702. plugin_id: bundle
  703. status:
  704. id: status
  705. table: media_field_data
  706. field: status
  707. relationship: none
  708. group_type: group
  709. admin_label: ''
  710. operator: '='
  711. value: '1'
  712. group: 1
  713. exposed: true
  714. expose:
  715. operator_id: ''
  716. label: 'True'
  717. description: null
  718. use_operator: false
  719. operator: status_op
  720. identifier: status
  721. required: true
  722. remember: false
  723. multiple: false
  724. remember_roles:
  725. authenticated: authenticated
  726. operator_limit_selection: false
  727. operator_list: { }
  728. is_grouped: true
  729. group_info:
  730. label: 'Published status'
  731. description: ''
  732. identifier: status
  733. optional: true
  734. widget: select
  735. multiple: false
  736. remember: false
  737. default_group: All
  738. default_group_multiple: { }
  739. group_items:
  740. 1:
  741. title: Published
  742. operator: '='
  743. value: '1'
  744. 2:
  745. title: Unpublished
  746. operator: '='
  747. value: '0'
  748. plugin_id: boolean
  749. entity_type: media
  750. entity_field: status
  751. status_extra:
  752. id: status_extra
  753. table: media_field_data
  754. field: status_extra
  755. relationship: none
  756. group_type: group
  757. admin_label: ''
  758. operator: '='
  759. value: ''
  760. group: 1
  761. exposed: false
  762. expose:
  763. operator_id: ''
  764. label: ''
  765. description: ''
  766. use_operator: false
  767. operator: ''
  768. operator_limit_selection: false
  769. operator_list: { }
  770. identifier: ''
  771. required: false
  772. remember: false
  773. multiple: false
  774. remember_roles:
  775. authenticated: authenticated
  776. is_grouped: false
  777. group_info:
  778. label: ''
  779. description: ''
  780. identifier: ''
  781. optional: true
  782. widget: select
  783. multiple: false
  784. remember: false
  785. default_group: All
  786. default_group_multiple: { }
  787. group_items: { }
  788. entity_type: media
  789. plugin_id: media_status
  790. langcode:
  791. id: langcode
  792. table: media_field_data
  793. field: langcode
  794. relationship: none
  795. group_type: group
  796. admin_label: ''
  797. operator: in
  798. value: { }
  799. group: 1
  800. exposed: true
  801. expose:
  802. operator_id: langcode_op
  803. label: Language
  804. description: ''
  805. use_operator: false
  806. operator: langcode_op
  807. identifier: langcode
  808. required: false
  809. remember: false
  810. multiple: false
  811. remember_roles:
  812. authenticated: authenticated
  813. anonymous: '0'
  814. administrator: '0'
  815. reduce: false
  816. operator_limit_selection: false
  817. operator_list: { }
  818. is_grouped: false
  819. group_info:
  820. label: ''
  821. description: ''
  822. identifier: ''
  823. optional: true
  824. widget: select
  825. multiple: false
  826. remember: false
  827. default_group: All
  828. default_group_multiple: { }
  829. group_items: { }
  830. entity_type: media
  831. entity_field: langcode
  832. plugin_id: language
  833. sorts:
  834. created:
  835. id: created
  836. table: media_field_data
  837. field: created
  838. order: DESC
  839. entity_type: media
  840. entity_field: created
  841. plugin_id: date
  842. relationship: none
  843. group_type: group
  844. admin_label: ''
  845. exposed: false
  846. expose:
  847. label: ''
  848. granularity: second
  849. title: Media
  850. header: { }
  851. footer: { }
  852. empty:
  853. area_text_custom:
  854. id: area_text_custom
  855. table: views
  856. field: area_text_custom
  857. relationship: none
  858. group_type: group
  859. admin_label: ''
  860. empty: true
  861. tokenize: false
  862. content: 'No media available.'
  863. plugin_id: text_custom
  864. relationships: { }
  865. arguments: { }
  866. display_extenders: { }
  867. cache_metadata:
  868. max-age: 0
  869. contexts:
  870. - 'languages:language_content'
  871. - 'languages:language_interface'
  872. - url
  873. - url.query_args
  874. - user
  875. - user.permissions
  876. tags: { }
  877. media_page_list:
  878. display_plugin: page
  879. id: media_page_list
  880. display_title: Media
  881. position: 1
  882. display_options:
  883. display_extenders: { }
  884. path: admin/content/media
  885. menu:
  886. type: tab
  887. title: Media
  888. description: ''
  889. expanded: false
  890. parent: ''
  891. weight: 0
  892. context: '0'
  893. menu_name: main
  894. display_description: ''
  895. cache_metadata:
  896. max-age: 0
  897. contexts:
  898. - 'languages:language_content'
  899. - 'languages:language_interface'
  900. - url
  901. - url.query_args
  902. - user
  903. - user.permissions
  904. tags: { }

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