Verified Commit 6fc96204 authored by Dave Long's avatar Dave Long
Browse files

Issue #3458321 by narendraR, smustgrave, alexpott: Add validation constraints...

Issue #3458321 by narendraR, smustgrave, alexpott: Add validation constraints to language.content_settings.*.*

(cherry picked from commit ac88e9a4)
parent 7d18afd9
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -107,13 +107,21 @@ language.entity.*:
language.content_settings.*.*:
  type: config_entity
  label: 'Content Language Settings'
  constraints:
    FullyValidatable: ~
  mapping:
    id:
      type: string
      label: 'ID'
      constraints:
        NotBlank: []
    target_entity_type_id:
      type: string
      label: 'Entity Type ID'
      constraints:
        PluginExists:
          manager: entity_type.manager
          interface: Drupal\Core\Entity\ContentEntityInterface
    target_bundle:
      type:  string
      label: 'Bundle'