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.
|
||||
|
||||
core.entity_view_mode.*.*:
|
||||
type: mapping
|
||||
type: config_entity
|
||||
label: 'Entity view mode settings'
|
||||
mapping:
|
||||
id:
|
||||
type: string
|
||||
label: 'ID'
|
||||
uuid:
|
||||
type: string
|
||||
label: 'UUID'
|
||||
label:
|
||||
type: label
|
||||
label: 'The human-readable name of the view mode'
|
||||
targetEntityType:
|
||||
type: string
|
||||
label: 'Target entity type'
|
||||
status:
|
||||
type: boolean
|
||||
label: 'Enabled'
|
||||
cache:
|
||||
type: boolean
|
||||
label: 'Cached'
|
||||
langcode:
|
||||
type: string
|
||||
label: 'Default language'
|
||||
dependencies:
|
||||
type: config_dependencies
|
||||
label: 'Dependencies'
|
||||
|
||||
core.entity_form_mode.*.*:
|
||||
type: config_entity
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
# Schema for the configuration files of the Responsive Image module.
|
||||
|
||||
responsive_image.mappings.*:
|
||||
type: mapping
|
||||
type: config_entity
|
||||
label: 'Responsive image mapping'
|
||||
mapping:
|
||||
id:
|
||||
type: string
|
||||
label: 'Machine-readable name'
|
||||
uuid:
|
||||
type: string
|
||||
label: 'UUID'
|
||||
label:
|
||||
type: label
|
||||
label: 'Label'
|
||||
|
@ -32,15 +29,6 @@ responsive_image.mappings.*:
|
|||
breakpointGroup:
|
||||
type: string
|
||||
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:
|
||||
type: mapping
|
||||
|
|
Loading…
Reference in New Issue