Skip to content

Commit

Permalink
Update link fields to use LinkIt Formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
emerham committed Nov 14, 2023
1 parent 55c4125 commit 1f6f1da
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- field.field.block_content.content_with_image.field_content_with_image_image
- field.field.block_content.content_with_image.field_content_with_image_title
module:
- link
- linkit
- media_library
- text
id: block_content.content_with_image.default
Expand All @@ -26,12 +26,14 @@ content:
placeholder: ''
third_party_settings: { }
field_content_with_image_cta:
type: link_default
type: linkit
weight: 4
region: content
settings:
placeholder_url: ''
placeholder_title: ''
linkit_profile: default
linkit_auto_link_text: false
third_party_settings: { }
field_content_with_image_image:
type: media_library_widget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,33 @@ status: true
dependencies:
config:
- block_content.type.cta_list_with_image
- field.field.block_content.cta_list_with_image.field_cta_list_image
- field.field.block_content.cta_list_with_image.field_cta_list_link
- field.field.block_content.cta_list_with_image.field_cta_list_title
- field.field.block_content.cta_list_with_image.field_cta_list_image
module:
- link
- linkit
- media_library
id: block_content.cta_list_with_image.default
targetEntityType: block_content
bundle: cta_list_with_image
mode: default
content:
field_cta_list_image:
type: media_library_widget
weight: 1
region: content
settings:
media_types: { }
third_party_settings: { }
field_cta_list_link:
type: link_default
type: linkit
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
linkit_profile: default
linkit_auto_link_text: false
third_party_settings: { }
field_cta_list_title:
type: string_textfield
Expand All @@ -31,12 +40,5 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_cta_list_image:
type: media_library_widget
weight: 1
region: content
settings:
media_types: { }
third_party_settings: { }
hidden:
info: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- field.field.block_content.hero_with_cta.field_hero_cta_subtitle
- field.field.block_content.hero_with_cta.field_hero_cta_title
module:
- link
- linkit
- media_library
- text
id: block_content.hero_with_cta.default
Expand All @@ -27,12 +27,14 @@ content:
placeholder: ''
third_party_settings: { }
field_hero_cta_button:
type: link_default
type: linkit
weight: 5
region: content
settings:
placeholder_url: ''
placeholder_title: ''
linkit_profile: default
linkit_auto_link_text: false
third_party_settings: { }
field_hero_cta_image:
type: media_library_widget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- field.field.block_content.content_with_image.field_content_with_image_image
- field.field.block_content.content_with_image.field_content_with_image_title
module:
- link
- linkit
- text
id: block_content.content_with_image.default
targetEntityType: block_content
Expand All @@ -24,14 +24,15 @@ content:
weight: 1
region: content
field_content_with_image_cta:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
linkit_profile: default
third_party_settings: { }
weight: 2
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
module:
- field_group
- layout_builder
- link
- linkit
- text
third_party_settings:
layout_builder:
Expand Down Expand Up @@ -53,14 +53,15 @@ content:
weight: 2
region: content
field_content_with_image_cta:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
linkit_profile: default
third_party_settings: { }
weight: 3
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
module:
- field_group
- layout_builder
- link
- linkit
- text
third_party_settings:
layout_builder:
Expand Down Expand Up @@ -52,14 +52,15 @@ content:
weight: 2
region: content
field_content_with_image_cta:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
linkit_profile: default
third_party_settings: { }
weight: 3
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
module:
- field_group
- layout_builder
- link
- linkit
- text
third_party_settings:
layout_builder:
Expand Down Expand Up @@ -72,14 +72,15 @@ content:
weight: 2
region: content
field_content_with_image_cta:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
linkit_profile: default
third_party_settings: { }
weight: 3
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
module:
- field_group
- layout_builder
- link
- linkit
- text
third_party_settings:
layout_builder:
Expand Down Expand Up @@ -72,14 +72,15 @@ content:
weight: 2
region: content
field_content_with_image_cta:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
linkit_profile: default
third_party_settings: { }
weight: 3
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ status: true
dependencies:
config:
- block_content.type.cta_list_with_image
- field.field.block_content.cta_list_with_image.field_cta_list_image
- field.field.block_content.cta_list_with_image.field_cta_list_link
- field.field.block_content.cta_list_with_image.field_cta_list_title
- field.field.block_content.cta_list_with_image.field_cta_list_image
module:
- field_group
- link
- linkit
third_party_settings:
field_group:
group_left_column:
Expand Down Expand Up @@ -56,33 +56,34 @@ targetEntityType: block_content
bundle: cta_list_with_image
mode: default
content:
field_cta_list_image:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: full
link: false
third_party_settings: { }
weight: 5
region: content
field_cta_list_link:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
linkit_profile: default
third_party_settings: { }
weight: 2
region: content
field_cta_list_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
third_party_settings: { }
weight: 1
region: content
field_cta_list_image:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: full
link: false
third_party_settings: { }
weight: 5
region: content
hidden: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- field.field.block_content.hero_with_cta.field_hero_cta_title
module:
- field_group
- link
- linkit
- text
third_party_settings:
field_group:
Expand Down Expand Up @@ -88,14 +88,15 @@ content:
weight: 6
region: content
field_hero_cta_button:
type: link
type: linkit
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
linkit_profile: default
third_party_settings: { }
weight: 7
region: content
Expand Down

0 comments on commit 1f6f1da

Please sign in to comment.