mirror of
https://git.northern.co/onpoint-suite/drupal_yp_install_profile.git
synced 2024-10-31 17:05:32 +00:00
Updated "SVG" media type image styles and display modes.
This commit is contained in:
parent
ab80849b84
commit
395a374332
@ -3,9 +3,12 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.media.svg.field_media_image_1
|
- field.field.media.svg.field_media_image_1
|
||||||
|
- image.style.large
|
||||||
- media.type.svg
|
- media.type.svg
|
||||||
module:
|
module:
|
||||||
- svg_image
|
- svg_image
|
||||||
|
_core:
|
||||||
|
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
|
||||||
id: media.svg.default
|
id: media.svg.default
|
||||||
targetEntityType: media
|
targetEntityType: media
|
||||||
bundle: svg
|
bundle: svg
|
||||||
@ -15,12 +18,12 @@ content:
|
|||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
weight: 0
|
weight: 0
|
||||||
settings:
|
settings:
|
||||||
|
image_style: large
|
||||||
image_link: ''
|
image_link: ''
|
||||||
svg_render_as_image: true
|
svg_render_as_image: true
|
||||||
svg_attributes:
|
svg_attributes:
|
||||||
width: null
|
width: null
|
||||||
height: null
|
height: null
|
||||||
image_style: ''
|
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: image
|
type: image
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@ -0,0 +1,36 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.media.media_library
|
||||||
|
- field.field.media.svg.field_media_image_1
|
||||||
|
- image.style.medium
|
||||||
|
- media.type.svg
|
||||||
|
module:
|
||||||
|
- svg_image
|
||||||
|
_core:
|
||||||
|
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
|
||||||
|
id: media.svg.media_library
|
||||||
|
targetEntityType: media
|
||||||
|
bundle: svg
|
||||||
|
mode: media_library
|
||||||
|
content:
|
||||||
|
field_media_image_1:
|
||||||
|
label: visually_hidden
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
image_style: medium
|
||||||
|
image_link: ''
|
||||||
|
svg_render_as_image: true
|
||||||
|
svg_attributes:
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
third_party_settings: { }
|
||||||
|
type: image
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
langcode: true
|
||||||
|
name: true
|
||||||
|
thumbnail: true
|
||||||
|
uid: true
|
||||||
35
config/install/core.entity_view_display.media.svg.svg.yml
Normal file
35
config/install/core.entity_view_display.media.svg.svg.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.media.svg
|
||||||
|
- field.field.media.svg.field_media_image_1
|
||||||
|
- media.type.svg
|
||||||
|
module:
|
||||||
|
- svg_image
|
||||||
|
_core:
|
||||||
|
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
|
||||||
|
id: media.svg.svg
|
||||||
|
targetEntityType: media
|
||||||
|
bundle: svg
|
||||||
|
mode: svg
|
||||||
|
content:
|
||||||
|
field_media_image_1:
|
||||||
|
label: visually_hidden
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
image_style: ''
|
||||||
|
image_link: ''
|
||||||
|
svg_attributes:
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
svg_render_as_image: false
|
||||||
|
third_party_settings: { }
|
||||||
|
type: image
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
langcode: true
|
||||||
|
name: true
|
||||||
|
thumbnail: true
|
||||||
|
uid: true
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.media.svg_icon
|
||||||
|
- field.field.media.svg.field_media_image_1
|
||||||
|
- image.style.svg_icon
|
||||||
|
- media.type.svg
|
||||||
|
module:
|
||||||
|
- svg_image
|
||||||
|
_core:
|
||||||
|
default_config_hash: R2Lnr2qu3jKlsRNF-TPVvVWEgZsjSlkYh0PxGjZjvnY
|
||||||
|
id: media.svg.svg_icon
|
||||||
|
targetEntityType: media
|
||||||
|
bundle: svg
|
||||||
|
mode: svg_icon
|
||||||
|
content:
|
||||||
|
field_media_image_1:
|
||||||
|
label: visually_hidden
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
image_style: svg_icon
|
||||||
|
image_link: ''
|
||||||
|
svg_attributes:
|
||||||
|
width: null
|
||||||
|
height: 14
|
||||||
|
svg_render_as_image: false
|
||||||
|
third_party_settings: { }
|
||||||
|
type: image
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
langcode: true
|
||||||
|
name: true
|
||||||
|
thumbnail: true
|
||||||
|
uid: true
|
||||||
9
config/install/core.entity_view_mode.media.svg.yml
Normal file
9
config/install/core.entity_view_mode.media.svg.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- media
|
||||||
|
id: media.svg
|
||||||
|
label: SVG
|
||||||
|
targetEntityType: media
|
||||||
|
cache: true
|
||||||
9
config/install/core.entity_view_mode.media.svg_icon.yml
Normal file
9
config/install/core.entity_view_mode.media.svg_icon.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- media
|
||||||
|
id: media.svg_icon
|
||||||
|
label: 'SVG icon'
|
||||||
|
targetEntityType: media
|
||||||
|
cache: true
|
||||||
14
config/install/image.style.svg_icon.yml
Normal file
14
config/install/image.style.svg_icon.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
name: svg_icon
|
||||||
|
label: 'SVG icon'
|
||||||
|
effects:
|
||||||
|
0749977f-bb6a-4a8f-9d66-b6d5c6551fec:
|
||||||
|
uuid: 0749977f-bb6a-4a8f-9d66-b6d5c6551fec
|
||||||
|
id: image_scale
|
||||||
|
weight: 1
|
||||||
|
data:
|
||||||
|
width: 260
|
||||||
|
height: null
|
||||||
|
upscale: false
|
||||||
Loading…
Reference in New Issue
Block a user