Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
Description: 

See the original change record for when ConfigExists was introduced in Drupal 10.1.

The ConfigExists constraint has gained a new option: prefix. This allows using this validation constraint for scenarios where some config refers to a specific config entity (of a certain config entity type) by its machine name.

For example:

editor.editor.*:
  type: config_entity
  label: 'Text editor'
  mapping:
    format:
      type: string
      label: 'Name'
      constraints:
        # @see \Drupal\editor\Entity\Editor::getFilterFormat()
        # @see \Drupal\editor\Entity\Editor::calculateDependencies()
        ConfigExists:
          prefix: 'filter.format.'
<snip>
Impacts: 
Module developers