diff --git a/drupal10/config/core.entity_form_display.node.article.default.yml b/drupal10/config/core.entity_form_display.node.article.default.yml index aca0975..8fe081a 100644 --- a/drupal10/config/core.entity_form_display.node.article.default.yml +++ b/drupal10/config/core.entity_form_display.node.article.default.yml @@ -4,9 +4,11 @@ status: true dependencies: config: - field.field.node.article.body + - field.field.node.article.field_media_image - field.field.node.article.field_tags - node.type.article module: + - media_library - path - text id: node.article.default @@ -30,6 +32,13 @@ content: region: content settings: { } third_party_settings: { } + field_media_image: + type: media_library_widget + weight: 121 + region: content + settings: + media_types: { } + third_party_settings: { } field_tags: type: entity_reference_autocomplete_tags weight: -4 diff --git a/drupal10/config/core.entity_form_display.node.session.default.yml b/drupal10/config/core.entity_form_display.node.session.default.yml index 722e91c..26b7c0c 100644 --- a/drupal10/config/core.entity_form_display.node.session.default.yml +++ b/drupal10/config/core.entity_form_display.node.session.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.session.field_description + - field.field.node.session.field_media_remote_video - field.field.node.session.field_slides - field.field.node.session.field_speakers - field.field.node.session.field_topics @@ -11,6 +12,7 @@ dependencies: module: - field_group - file + - media_library - path - text third_party_settings: @@ -18,6 +20,7 @@ third_party_settings: group_resources: children: - field_slides + - field_media_remote_video label: Resources region: content parent_name: '' @@ -49,6 +52,13 @@ content: rows: 5 placeholder: '' third_party_settings: { } + field_media_remote_video: + type: media_library_widget + weight: 6 + region: content + settings: + media_types: { } + third_party_settings: { } field_slides: type: file_generic weight: 5 diff --git a/drupal10/config/core.entity_form_display.node.venue.default.yml b/drupal10/config/core.entity_form_display.node.venue.default.yml index dad372b..e413ab1 100644 --- a/drupal10/config/core.entity_form_display.node.venue.default.yml +++ b/drupal10/config/core.entity_form_display.node.venue.default.yml @@ -5,10 +5,12 @@ dependencies: config: - field.field.node.venue.field_additional_information - field.field.node.venue.field_address + - field.field.node.venue.field_media_image - field.field.node.venue.field_phone - node.type.venue module: - address + - media_library - path - telephone - text @@ -38,6 +40,13 @@ content: settings: wrapper_type: fieldset third_party_settings: { } + field_media_image: + type: media_library_widget + weight: 121 + region: content + settings: + media_types: { } + third_party_settings: { } field_phone: type: telephone_default weight: 37 diff --git a/drupal10/config/core.entity_view_display.node.article.default.yml b/drupal10/config/core.entity_view_display.node.article.default.yml index d64d03f..7305831 100644 --- a/drupal10/config/core.entity_view_display.node.article.default.yml +++ b/drupal10/config/core.entity_view_display.node.article.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.article.body + - field.field.node.article.field_media_image - field.field.node.article.field_tags - node.type.article module: @@ -21,6 +22,15 @@ content: third_party_settings: { } weight: 0 region: content + field_media_image: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 101 + region: content field_tags: type: entity_reference_label label: above diff --git a/drupal10/config/core.entity_view_display.node.article.teaser.yml b/drupal10/config/core.entity_view_display.node.article.teaser.yml index 760c7a3..6bae493 100644 --- a/drupal10/config/core.entity_view_display.node.article.teaser.yml +++ b/drupal10/config/core.entity_view_display.node.article.teaser.yml @@ -5,6 +5,7 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.article.body + - field.field.node.article.field_media_image - field.field.node.article.field_tags - node.type.article module: @@ -36,4 +37,5 @@ content: third_party_settings: { } weight: 100 region: content -hidden: { } +hidden: + field_media_image: true diff --git a/drupal10/config/core.entity_view_display.node.session.default.yml b/drupal10/config/core.entity_view_display.node.session.default.yml index 378a6e4..4b5d549 100644 --- a/drupal10/config/core.entity_view_display.node.session.default.yml +++ b/drupal10/config/core.entity_view_display.node.session.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.session.field_description + - field.field.node.session.field_media_remote_video - field.field.node.session.field_slides - field.field.node.session.field_speakers - field.field.node.session.field_topics @@ -24,6 +25,15 @@ content: third_party_settings: { } weight: 4 region: content + field_media_remote_video: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 101 + region: content field_slides: type: file_default label: above diff --git a/drupal10/config/core.entity_view_display.node.venue.default.yml b/drupal10/config/core.entity_view_display.node.venue.default.yml index 5421594..2010826 100644 --- a/drupal10/config/core.entity_view_display.node.venue.default.yml +++ b/drupal10/config/core.entity_view_display.node.venue.default.yml @@ -5,6 +5,7 @@ dependencies: config: - field.field.node.venue.field_additional_information - field.field.node.venue.field_address + - field.field.node.venue.field_media_image - field.field.node.venue.field_phone - node.type.venue module: @@ -31,6 +32,15 @@ content: third_party_settings: { } weight: 1 region: content + field_media_image: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 101 + region: content field_phone: type: telephone_link label: inline diff --git a/drupal10/config/field.field.node.article.field_media_image.yml b/drupal10/config/field.field.node.article.field_media_image.yml new file mode 100644 index 0000000..ecc96ca --- /dev/null +++ b/drupal10/config/field.field.node.article.field_media_image.yml @@ -0,0 +1,29 @@ +uuid: bd667c67-4be3-4d6b-b9fe-4369885875d7 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_media_image + - media.type.image + - node.type.article +id: node.article.field_media_image +field_name: field_media_image +entity_type: node +bundle: article +label: Image +description: 'Upload an image to go with this article.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/drupal10/config/field.field.node.session.field_media_remote_video.yml b/drupal10/config/field.field.node.session.field_media_remote_video.yml new file mode 100644 index 0000000..1885e83 --- /dev/null +++ b/drupal10/config/field.field.node.session.field_media_remote_video.yml @@ -0,0 +1,29 @@ +uuid: b078ece8-0e97-46c7-9529-c61a46acfa9b +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_media_remote_video + - media.type.remote_video + - node.type.session +id: node.session.field_media_remote_video +field_name: field_media_remote_video +entity_type: node +bundle: session +label: 'Video recording' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + remote_video: remote_video + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/drupal10/config/field.field.node.venue.field_media_image.yml b/drupal10/config/field.field.node.venue.field_media_image.yml new file mode 100644 index 0000000..74d2b8f --- /dev/null +++ b/drupal10/config/field.field.node.venue.field_media_image.yml @@ -0,0 +1,29 @@ +uuid: 01b1ec0b-4018-42e9-8f89-a7a832190105 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_media_image + - media.type.image + - node.type.venue +id: node.venue.field_media_image +field_name: field_media_image +entity_type: node +bundle: venue +label: Image +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/drupal10/config/field.storage.node.field_media_image.yml b/drupal10/config/field.storage.node.field_media_image.yml new file mode 100644 index 0000000..c61f4d2 --- /dev/null +++ b/drupal10/config/field.storage.node.field_media_image.yml @@ -0,0 +1,20 @@ +uuid: b579ed7e-6523-4584-8d05-e84100633d12 +langcode: en +status: true +dependencies: + module: + - media + - node +id: node.field_media_image +field_name: field_media_image +entity_type: node +type: entity_reference +settings: + target_type: media +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/drupal10/config/field.storage.node.field_media_remote_video.yml b/drupal10/config/field.storage.node.field_media_remote_video.yml new file mode 100644 index 0000000..c6773c9 --- /dev/null +++ b/drupal10/config/field.storage.node.field_media_remote_video.yml @@ -0,0 +1,20 @@ +uuid: ba0e718f-7738-4468-a5e2-2190d71e7209 +langcode: en +status: true +dependencies: + module: + - media + - node +id: node.field_media_remote_video +field_name: field_media_remote_video +entity_type: node +type: entity_reference +settings: + target_type: media +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false