Apply user_picture recipe

This commit is contained in:
Mauricio Dinarte 2024-12-04 10:12:40 -06:00
parent 2f45f01ebe
commit 356a711ffc
5 changed files with 182 additions and 0 deletions

View file

@ -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: { }

View file

@ -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

View file

@ -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: { }

View 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

View 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