entity_test.schema.yml 1.09 KB
Newer Older
1
core.entity_view_display.*.*.*.third_party.entity_test:
2 3 4 5 6 7
  type: mapping
  label: 'Schema for entity_test module additions to entity_view_display entity'
  mapping:
    foo:
      type: string
      label: 'Label for foo'
8 9 10 11 12 13 14 15

field.storage_settings.shape:
  type: mapping
  label: 'Shape field storage settings'
  mapping:
    foreign_key_name:
      type: string
      label: 'Foreign key name'
16 17 18 19 20 21 22 23 24 25 26 27 28 29

entity_test.entity_test_bundle.*:
  type: config_entity
  label: 'Entity test bundle'
  mapping:
    label:
      type: label
      label: 'Label'
    id:
      type: string
      label: 'Machine-readable name'
    description:
      type: text
      label: 'Description'
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45

entity_test.entity_test_bundle.*.third_party.content_moderation:
  type: mapping
  label: 'Enable moderation states for this entity test type'
  mapping:
    enabled:
      type: boolean
      label: 'Moderation states enabled'
    allowed_moderation_states:
      type: sequence
      sequence:
        type: string
        label: 'Moderation state'
    default_moderation_state:
      type: string
      label: 'Moderation state for new entity test'