mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 23:24:34 +00:00
Apply user_picture recipe
This commit is contained in:
parent
2f45f01ebe
commit
356a711ffc
5 changed files with 182 additions and 0 deletions
|
@ -0,0 +1,45 @@
|
|||
uuid: 0f75474b-b658-47ea-9794-8d7eb3476a30
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.user.user.user_picture
|
||||
- image.style.thumbnail
|
||||
module:
|
||||
- image
|
||||
- path
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: FaQ9Ptcpxpg30AtiqRDtl_8zbJArHP1LPfug_s59TOA
|
||||
id: user.user.default
|
||||
targetEntityType: user
|
||||
bundle: user
|
||||
mode: default
|
||||
content:
|
||||
account:
|
||||
weight: -10
|
||||
region: content
|
||||
contact:
|
||||
weight: 5
|
||||
region: content
|
||||
language:
|
||||
weight: 0
|
||||
region: content
|
||||
path:
|
||||
type: path
|
||||
weight: 30
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
timezone:
|
||||
weight: 6
|
||||
region: content
|
||||
user_picture:
|
||||
type: image_image
|
||||
weight: -1
|
||||
region: content
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
|
@ -0,0 +1,31 @@
|
|||
uuid: 4afd2d55-9096-4bde-a2fa-7dc5ff27f333
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.user.compact
|
||||
- field.field.user.user.user_picture
|
||||
- image.style.thumbnail
|
||||
module:
|
||||
- image
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: 00zr_RBdTjPjBGITD3h4c1ESQZimjdVCcHGt1trLqIY
|
||||
id: user.user.compact
|
||||
targetEntityType: user
|
||||
bundle: user
|
||||
mode: compact
|
||||
content:
|
||||
user_picture:
|
||||
type: image
|
||||
label: hidden
|
||||
settings:
|
||||
image_style: thumbnail
|
||||
image_link: content
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
hidden:
|
||||
member_for: true
|
|
@ -0,0 +1,32 @@
|
|||
uuid: 9f08b568-8360-494e-9898-d1e238013230
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.user.user.user_picture
|
||||
- image.style.thumbnail
|
||||
module:
|
||||
- image
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: mZLyuWM9CQx2ZJVqFGSbzgFnHzudVbHBYmdU256A5Wk
|
||||
id: user.user.default
|
||||
targetEntityType: user
|
||||
bundle: user
|
||||
mode: default
|
||||
content:
|
||||
member_for:
|
||||
weight: 5
|
||||
region: content
|
||||
user_picture:
|
||||
type: image
|
||||
label: hidden
|
||||
settings:
|
||||
image_style: thumbnail
|
||||
image_link: content
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
hidden: { }
|
40
drupal10/config/field.field.user.user.user_picture.yml
Normal file
40
drupal10/config/field.field.user.user.user_picture.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uuid: a46aaf82-7c89-4361-8a9c-dbe018cf0594
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.user.user_picture
|
||||
module:
|
||||
- image
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: TE3gYVzd6g0deXqUl8SEu2azHwVG-SdXm3kwbrz0kHw
|
||||
id: user.user.user_picture
|
||||
field_name: user_picture
|
||||
entity_type: user
|
||||
bundle: user
|
||||
label: Picture
|
||||
description: 'Your virtual face or picture.'
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
file_directory: 'pictures/[date:custom:Y]-[date:custom:m]'
|
||||
file_extensions: 'png gif jpg jpeg webp'
|
||||
max_filesize: ''
|
||||
max_resolution: ''
|
||||
min_resolution: ''
|
||||
alt_field: false
|
||||
alt_field_required: false
|
||||
title_field: false
|
||||
title_field_required: false
|
||||
default_image:
|
||||
uuid: null
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
field_type: image
|
34
drupal10/config/field.storage.user.user_picture.yml
Normal file
34
drupal10/config/field.storage.user.user_picture.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
uuid: 7313c07d-060d-41c7-a4d6-ef53458c457a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- file
|
||||
- image
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: 0q8-mw8y-Ls5I578sIPQFLp4ljpH7WvVYpzY-I9O-8E
|
||||
id: user.user_picture
|
||||
field_name: user_picture
|
||||
entity_type: user
|
||||
type: image
|
||||
settings:
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
uri_scheme: public
|
||||
default_image:
|
||||
uuid: null
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
module: image
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes:
|
||||
target_id:
|
||||
- target_id
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
Loading…
Reference in a new issue