views.view.block_content.yml

Same filename in other branches
  1. 9 core/modules/block_content/config/optional/views.view.block_content.yml
  2. 10 core/modules/block_content/config/optional/views.view.block_content.yml
  3. 11.x core/modules/block_content/config/optional/views.view.block_content.yml
core/modules/block_content/config/optional/views.view.block_content.yml
1 string reference to 'views.view.block_content'
BlockContentReusableUpdateTest::testReusableFieldAddition in core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php
Tests adding 'reusable' entity base field to the block content entity type.

File

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

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - block_content
  6. - user
  7. id: block_content
  8. label: 'Custom block library'
  9. module: views
  10. description: 'Find and manage custom blocks.'
  11. tag: default
  12. base_table: block_content_field_data
  13. base_field: id
  14. display:
  15. default:
  16. display_plugin: default
  17. id: default
  18. display_title: Master
  19. position: 0
  20. display_options:
  21. access:
  22. type: perm
  23. options:
  24. perm: 'administer blocks'
  25. cache:
  26. type: tag
  27. options: { }
  28. query:
  29. type: views_query
  30. options:
  31. disable_sql_rewrite: false
  32. distinct: false
  33. replica: false
  34. query_comment: ''
  35. query_tags: { }
  36. exposed_form:
  37. type: basic
  38. options:
  39. submit_button: Apply
  40. reset_button: false
  41. reset_button_label: Reset
  42. exposed_sorts_label: 'Sort by'
  43. expose_sort_order: true
  44. sort_asc_label: Asc
  45. sort_desc_label: Desc
  46. pager:
  47. type: mini
  48. options:
  49. items_per_page: 50
  50. offset: 0
  51. id: 0
  52. total_pages: null
  53. tags:
  54. previous: '‹ Previous'
  55. next: 'Next ›'
  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. style:
  65. type: table
  66. options:
  67. grouping: { }
  68. row_class: ''
  69. default_row_class: true
  70. override: true
  71. sticky: false
  72. caption: ''
  73. summary: ''
  74. description: ''
  75. columns:
  76. info: info
  77. type: type
  78. changed: changed
  79. operations: operations
  80. info:
  81. info:
  82. sortable: true
  83. default_sort_order: asc
  84. align: ''
  85. separator: ''
  86. empty_column: false
  87. responsive: ''
  88. type:
  89. sortable: true
  90. default_sort_order: asc
  91. align: ''
  92. separator: ''
  93. empty_column: false
  94. responsive: ''
  95. changed:
  96. sortable: true
  97. default_sort_order: desc
  98. align: ''
  99. separator: ''
  100. empty_column: false
  101. responsive: ''
  102. operations:
  103. sortable: false
  104. default_sort_order: asc
  105. align: ''
  106. separator: ''
  107. empty_column: false
  108. responsive: ''
  109. default: changed
  110. empty_table: true
  111. row:
  112. type: fields
  113. fields:
  114. info:
  115. id: info
  116. table: block_content_field_data
  117. field: info
  118. relationship: none
  119. group_type: group
  120. admin_label: ''
  121. label: 'Block description'
  122. exclude: false
  123. alter:
  124. alter_text: false
  125. text: ''
  126. make_link: false
  127. path: ''
  128. absolute: false
  129. external: false
  130. replace_spaces: false
  131. path_case: none
  132. trim_whitespace: false
  133. alt: ''
  134. rel: ''
  135. link_class: ''
  136. prefix: ''
  137. suffix: ''
  138. target: ''
  139. nl2br: false
  140. max_length: 0
  141. word_boundary: true
  142. ellipsis: true
  143. more_link: false
  144. more_link_text: ''
  145. more_link_path: ''
  146. strip_tags: false
  147. trim: false
  148. preserve_tags: ''
  149. html: false
  150. element_type: ''
  151. element_class: ''
  152. element_label_type: ''
  153. element_label_class: ''
  154. element_label_colon: true
  155. element_wrapper_type: ''
  156. element_wrapper_class: ''
  157. element_default_classes: true
  158. empty: ''
  159. hide_empty: false
  160. empty_zero: false
  161. hide_alter_empty: true
  162. click_sort_column: value
  163. type: string
  164. settings:
  165. link_to_entity: true
  166. group_column: value
  167. group_columns: { }
  168. group_rows: true
  169. delta_limit: 0
  170. delta_offset: 0
  171. delta_reversed: false
  172. delta_first_last: false
  173. multi_type: separator
  174. separator: ', '
  175. field_api_classes: false
  176. entity_type: null
  177. entity_field: info
  178. plugin_id: field
  179. type:
  180. id: type
  181. table: block_content_field_data
  182. field: type
  183. relationship: none
  184. group_type: group
  185. admin_label: ''
  186. label: 'Block type'
  187. exclude: false
  188. alter:
  189. alter_text: false
  190. text: ''
  191. make_link: false
  192. path: ''
  193. absolute: false
  194. external: false
  195. replace_spaces: false
  196. path_case: none
  197. trim_whitespace: false
  198. alt: ''
  199. rel: ''
  200. link_class: ''
  201. prefix: ''
  202. suffix: ''
  203. target: ''
  204. nl2br: false
  205. max_length: 0
  206. word_boundary: true
  207. ellipsis: true
  208. more_link: false
  209. more_link_text: ''
  210. more_link_path: ''
  211. strip_tags: false
  212. trim: false
  213. preserve_tags: ''
  214. html: false
  215. element_type: ''
  216. element_class: ''
  217. element_label_type: ''
  218. element_label_class: ''
  219. element_label_colon: true
  220. element_wrapper_type: ''
  221. element_wrapper_class: ''
  222. element_default_classes: true
  223. empty: ''
  224. hide_empty: false
  225. empty_zero: false
  226. hide_alter_empty: true
  227. click_sort_column: target_id
  228. type: entity_reference_label
  229. settings:
  230. link: false
  231. group_column: target_id
  232. group_columns: { }
  233. group_rows: true
  234. delta_limit: 0
  235. delta_offset: 0
  236. delta_reversed: false
  237. delta_first_last: false
  238. multi_type: separator
  239. separator: ', '
  240. field_api_classes: false
  241. entity_type: block_content
  242. entity_field: type
  243. plugin_id: field
  244. changed:
  245. id: changed
  246. table: block_content_field_data
  247. field: changed
  248. relationship: none
  249. group_type: group
  250. admin_label: ''
  251. label: Updated
  252. exclude: false
  253. alter:
  254. alter_text: false
  255. text: ''
  256. make_link: false
  257. path: ''
  258. absolute: false
  259. external: false
  260. replace_spaces: false
  261. path_case: none
  262. trim_whitespace: false
  263. alt: ''
  264. rel: ''
  265. link_class: ''
  266. prefix: ''
  267. suffix: ''
  268. target: ''
  269. nl2br: false
  270. max_length: 0
  271. word_boundary: true
  272. ellipsis: true
  273. more_link: false
  274. more_link_text: ''
  275. more_link_path: ''
  276. strip_tags: false
  277. trim: false
  278. preserve_tags: ''
  279. html: 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_empty: false
  290. empty_zero: false
  291. hide_alter_empty: true
  292. entity_type: block_content
  293. entity_field: changed
  294. type: timestamp
  295. settings:
  296. date_format: short
  297. custom_date_format: ''
  298. timezone: ''
  299. plugin_id: field
  300. operations:
  301. id: operations
  302. table: block_content
  303. field: operations
  304. relationship: none
  305. group_type: group
  306. admin_label: ''
  307. label: Operations
  308. exclude: false
  309. alter:
  310. alter_text: false
  311. text: ''
  312. make_link: false
  313. path: ''
  314. absolute: false
  315. external: false
  316. replace_spaces: false
  317. path_case: none
  318. trim_whitespace: false
  319. alt: ''
  320. rel: ''
  321. link_class: ''
  322. prefix: ''
  323. suffix: ''
  324. target: ''
  325. nl2br: false
  326. max_length: 0
  327. word_boundary: true
  328. ellipsis: true
  329. more_link: false
  330. more_link_text: ''
  331. more_link_path: ''
  332. strip_tags: false
  333. trim: false
  334. preserve_tags: ''
  335. html: false
  336. element_type: ''
  337. element_class: ''
  338. element_label_type: ''
  339. element_label_class: ''
  340. element_label_colon: true
  341. element_wrapper_type: ''
  342. element_wrapper_class: ''
  343. element_default_classes: true
  344. empty: ''
  345. hide_empty: false
  346. empty_zero: false
  347. hide_alter_empty: true
  348. destination: true
  349. entity_type: block_content
  350. plugin_id: entity_operations
  351. filters:
  352. info:
  353. id: info
  354. table: block_content_field_data
  355. field: info
  356. relationship: none
  357. group_type: group
  358. admin_label: ''
  359. operator: contains
  360. value: ''
  361. group: 1
  362. exposed: true
  363. expose:
  364. operator_id: info_op
  365. label: 'Block description'
  366. description: ''
  367. use_operator: false
  368. operator: info_op
  369. identifier: info
  370. required: false
  371. remember: false
  372. multiple: false
  373. remember_roles:
  374. authenticated: authenticated
  375. anonymous: '0'
  376. administrator: '0'
  377. operator_limit_selection: false
  378. operator_list: { }
  379. is_grouped: false
  380. group_info:
  381. label: ''
  382. description: ''
  383. identifier: ''
  384. optional: true
  385. widget: select
  386. multiple: false
  387. remember: false
  388. default_group: All
  389. default_group_multiple: { }
  390. group_items: { }
  391. entity_type: block_content
  392. entity_field: info
  393. plugin_id: string
  394. type:
  395. id: type
  396. table: block_content_field_data
  397. field: type
  398. relationship: none
  399. group_type: group
  400. admin_label: ''
  401. operator: in
  402. value: { }
  403. group: 1
  404. exposed: true
  405. expose:
  406. operator_id: type_op
  407. label: 'Block type'
  408. description: ''
  409. use_operator: false
  410. operator: type_op
  411. identifier: type
  412. required: false
  413. remember: false
  414. multiple: false
  415. remember_roles:
  416. authenticated: authenticated
  417. anonymous: '0'
  418. administrator: '0'
  419. reduce: false
  420. operator_limit_selection: false
  421. operator_list: { }
  422. is_grouped: false
  423. group_info:
  424. label: ''
  425. description: ''
  426. identifier: ''
  427. optional: true
  428. widget: select
  429. multiple: false
  430. remember: false
  431. default_group: All
  432. default_group_multiple: { }
  433. group_items: { }
  434. entity_type: block_content
  435. entity_field: type
  436. plugin_id: bundle
  437. reusable:
  438. id: reusable
  439. table: block_content_field_data
  440. field: reusable
  441. relationship: none
  442. group_type: group
  443. admin_label: ''
  444. operator: '='
  445. value: '1'
  446. group: 1
  447. exposed: false
  448. expose:
  449. operator_id: ''
  450. label: ''
  451. description: ''
  452. use_operator: false
  453. operator: ''
  454. identifier: ''
  455. required: false
  456. remember: false
  457. multiple: false
  458. remember_roles:
  459. authenticated: authenticated
  460. operator_limit_selection: false
  461. operator_list: { }
  462. is_grouped: false
  463. group_info:
  464. label: ''
  465. description: ''
  466. identifier: ''
  467. optional: true
  468. widget: select
  469. multiple: false
  470. remember: false
  471. default_group: All
  472. default_group_multiple: { }
  473. group_items: { }
  474. entity_type: block_content
  475. entity_field: reusable
  476. plugin_id: boolean
  477. sorts: { }
  478. title: 'Custom block library'
  479. header: { }
  480. footer: { }
  481. empty:
  482. area_text_custom:
  483. id: area_text_custom
  484. table: views
  485. field: area_text_custom
  486. relationship: none
  487. group_type: group
  488. admin_label: ''
  489. empty: true
  490. tokenize: false
  491. content: 'There are no custom blocks available.'
  492. plugin_id: text_custom
  493. block_content_listing_empty:
  494. admin_label: ''
  495. empty: true
  496. field: block_content_listing_empty
  497. group_type: group
  498. id: block_content_listing_empty
  499. label: ''
  500. relationship: none
  501. table: block_content
  502. plugin_id: block_content_listing_empty
  503. entity_type: block_content
  504. relationships: { }
  505. arguments: { }
  506. display_extenders: { }
  507. cache_metadata:
  508. contexts:
  509. - 'languages:language_content'
  510. - 'languages:language_interface'
  511. - url
  512. - url.query_args
  513. - user.permissions
  514. max-age: -1
  515. tags: { }
  516. page_1:
  517. display_plugin: page
  518. id: page_1
  519. display_title: Page
  520. position: 1
  521. display_options:
  522. display_extenders: { }
  523. path: admin/structure/block/block-content
  524. menu:
  525. type: tab
  526. title: 'Custom block library'
  527. description: ''
  528. parent: block.admin_display
  529. weight: 0
  530. context: '0'
  531. menu_name: admin
  532. cache_metadata:
  533. contexts:
  534. - 'languages:language_content'
  535. - 'languages:language_interface'
  536. - url
  537. - url.query_args
  538. - user.permissions
  539. max-age: -1
  540. tags: { }

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