Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
Merge branch 'v1.x' into 464-set-date-defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
owenmck authored Mar 24, 2021
2 parents 696231d + 76b57b0 commit 27a2337
Show file tree
Hide file tree
Showing 33 changed files with 526 additions and 75 deletions.
67 changes: 67 additions & 0 deletions config/default/core.entity_form_display.media.h_svg.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
uuid: f7b62d00-aaf8-4969-982c-97eb9d273152
langcode: en
status: true
dependencies:
config:
- field.field.media.h_svg.field_media_file
- media.type.h_svg
module:
- file
- path
id: media.h_svg.default
targetEntityType: media
bundle: h_svg
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_file:
weight: 0
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuid: a75bbef6-ba1e-4f54-a4ca-566421b8b8cd
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.h_svg.field_media_file
- media.type.h_svg
module:
- file
id: media.h_svg.media_library
targetEntityType: media
bundle: h_svg
mode: media_library
content:
field_media_file:
type: file_generic
weight: 1
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
name:
type: string_textfield
settings:
size: 60
placeholder: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
langcode: true
path: true
status: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ langcode: en
status: true
dependencies:
config:
- entity_browser.browser.h_svg_browser
- field.field.taxonomy_term.h_notification_type.field_h_colour
- field.field.taxonomy_term.h_notification_type.field_h_icon
- taxonomy.vocabulary.h_notification_type
module:
- entity_browser
- path
- text
id: taxonomy_term.h_notification_type.default
Expand All @@ -15,7 +18,7 @@ mode: default
content:
description:
type: text_textarea
weight: 2
weight: 3
region: content
settings:
placeholder: ''
Expand All @@ -27,9 +30,24 @@ content:
third_party_settings: { }
type: options_select
region: content
field_h_icon:
type: entity_browser_entity_reference
weight: 2
settings:
entity_browser: h_svg_browser
field_widget_display: rendered_entity
field_widget_display_settings:
view_mode: default
field_widget_edit: true
field_widget_remove: true
selection_mode: selection_append
field_widget_replace: false
open: false
third_party_settings: { }
region: content
langcode:
type: language_select
weight: 3
weight: 4
region: content
settings:
include_locked: true
Expand All @@ -44,15 +62,15 @@ content:
third_party_settings: { }
path:
type: path
weight: 4
weight: 5
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 5
weight: 6
region: content
third_party_settings: { }
hidden: { }
38 changes: 38 additions & 0 deletions config/default/core.entity_view_display.media.h_svg.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
uuid: 2c4dc9a4-2853-4659-8583-017f466586e0
langcode: en
status: true
dependencies:
config:
- field.field.media.h_svg.field_media_file
- media.type.h_svg
module:
- file
- image
id: media.h_svg.default
targetEntityType: media
bundle: h_svg
mode: default
content:
field_media_file:
label: visually_hidden
weight: 0
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
thumbnail:
type: image
weight: 1
region: content
label: hidden
settings:
image_style: ''
image_link: ''
third_party_settings: { }
hidden:
created: true
langcode: true
name: true
search_api_excerpt: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: a6873d3e-0c7d-4645-a863-b7aa72aabf99
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.h_svg.field_media_file
- image.style.medium
- media.type.h_svg
module:
- image
id: media.h_svg.media_library
targetEntityType: media
bundle: h_svg
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_file: true
langcode: true
name: true
search_api_excerpt: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,9 @@ targetEntityType: node
bundle: h_contact
mode: h_inline
content:
field_h_contact_title_role:
type: string
weight: 2
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
field_h_contact_type:
type: entity_reference_label
weight: 1
region: content
label: hidden
settings:
link: false
third_party_settings: { }
field_h_email_addresses:
type: entity_reference_revisions_entity_view
weight: 4
weight: 2
region: content
label: hidden
settings:
Expand All @@ -77,7 +61,7 @@ content:
third_party_settings: { }
field_h_fax_numbers:
type: entity_reference_revisions_entity_view
weight: 6
weight: 4
region: content
label: hidden
settings:
Expand All @@ -95,7 +79,7 @@ content:
third_party_settings: { }
field_h_link_external:
type: link
weight: 7
weight: 5
region: content
label: hidden
settings:
Expand All @@ -107,14 +91,14 @@ content:
third_party_settings: { }
field_h_summary:
type: basic_string
weight: 3
weight: 1
region: content
label: hidden
settings: { }
third_party_settings: { }
field_h_telephone_numbers:
type: entity_reference_revisions_entity_view
weight: 5
weight: 3
region: content
label: hidden
settings:
Expand All @@ -127,6 +111,8 @@ hidden:
field_h_contact_organisation: true
field_h_contact_postal_addresses: true
field_h_contact_street_addresses: true
field_h_contact_title_role: true
field_h_contact_type: true
field_h_content_owner: true
field_h_date_created: true
field_h_date_published: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ content:
image_style: h_thumbnail_max_width
image_link: ''
third_party_settings: { }
field_h_publication_type:
type: entity_reference_label
weight: 1
region: content
label: hidden
settings:
link: true
third_party_settings: { }
field_h_summary:
type: basic_string
weight: 2
Expand All @@ -80,7 +88,6 @@ hidden:
field_h_link_external: true
field_h_order_id: true
field_h_order_text: true
field_h_publication_type: true
field_h_resource_availability: true
field_h_resource_date: true
field_h_resource_parts: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.taxonomy_term.h_notification_type.field_h_colour
- field.field.taxonomy_term.h_notification_type.field_h_icon
- taxonomy.vocabulary.h_notification_type
module:
- panelizer
Expand All @@ -27,6 +28,15 @@ content:
third_party_settings: { }
type: entity_reference_entity_view
region: content
field_h_icon:
type: entity_reference_entity_view
weight: 1
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
region: content
hidden:
description: true
langcode: true
Expand Down
Loading

0 comments on commit 27a2337

Please sign in to comment.