Issue #2419857 by Wim Leers, alexpott: Responsive image and View mode schemas should use the config_entity type, can then be simpler
parent
02b9e08b7a
commit
58e0453af5
|
@ -1,33 +1,21 @@
|
||||||
# Schema for Configuration files of the entity module.
|
# Schema for Configuration files of the entity module.
|
||||||
|
|
||||||
core.entity_view_mode.*.*:
|
core.entity_view_mode.*.*:
|
||||||
type: mapping
|
type: config_entity
|
||||||
label: 'Entity view mode settings'
|
label: 'Entity view mode settings'
|
||||||
mapping:
|
mapping:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
label: 'ID'
|
label: 'ID'
|
||||||
uuid:
|
|
||||||
type: string
|
|
||||||
label: 'UUID'
|
|
||||||
label:
|
label:
|
||||||
type: label
|
type: label
|
||||||
label: 'The human-readable name of the view mode'
|
label: 'The human-readable name of the view mode'
|
||||||
targetEntityType:
|
targetEntityType:
|
||||||
type: string
|
type: string
|
||||||
label: 'Target entity type'
|
label: 'Target entity type'
|
||||||
status:
|
|
||||||
type: boolean
|
|
||||||
label: 'Enabled'
|
|
||||||
cache:
|
cache:
|
||||||
type: boolean
|
type: boolean
|
||||||
label: 'Cached'
|
label: 'Cached'
|
||||||
langcode:
|
|
||||||
type: string
|
|
||||||
label: 'Default language'
|
|
||||||
dependencies:
|
|
||||||
type: config_dependencies
|
|
||||||
label: 'Dependencies'
|
|
||||||
|
|
||||||
core.entity_form_mode.*.*:
|
core.entity_form_mode.*.*:
|
||||||
type: config_entity
|
type: config_entity
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
# Schema for the configuration files of the Responsive Image module.
|
# Schema for the configuration files of the Responsive Image module.
|
||||||
|
|
||||||
responsive_image.mappings.*:
|
responsive_image.mappings.*:
|
||||||
type: mapping
|
type: config_entity
|
||||||
label: 'Responsive image mapping'
|
label: 'Responsive image mapping'
|
||||||
mapping:
|
mapping:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
label: 'Machine-readable name'
|
label: 'Machine-readable name'
|
||||||
uuid:
|
|
||||||
type: string
|
|
||||||
label: 'UUID'
|
|
||||||
label:
|
label:
|
||||||
type: label
|
type: label
|
||||||
label: 'Label'
|
label: 'Label'
|
||||||
|
@ -32,15 +29,6 @@ responsive_image.mappings.*:
|
||||||
breakpointGroup:
|
breakpointGroup:
|
||||||
type: string
|
type: string
|
||||||
label: 'Breakpoint group'
|
label: 'Breakpoint group'
|
||||||
status:
|
|
||||||
type: boolean
|
|
||||||
label: 'Status'
|
|
||||||
langcode:
|
|
||||||
type: string
|
|
||||||
label: 'Default language'
|
|
||||||
dependencies:
|
|
||||||
type: config_dependencies
|
|
||||||
label: 'Dependencies'
|
|
||||||
|
|
||||||
field.formatter.settings.responsive_image:
|
field.formatter.settings.responsive_image:
|
||||||
type: mapping
|
type: mapping
|
||||||
|
|
Loading…
Reference in New Issue