MediaMappingsConstraint::$invalidMappingMessage

Same name in other branches
  1. 11.x core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php \Drupal\media\Plugin\Validation\Constraint\MediaMappingsConstraint::invalidMappingMessage

The error message if source is used in media mapping.

Type: string

File

core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php, line 25

Class

MediaMappingsConstraint
Validates media mappings.

Namespace

Drupal\media\Plugin\Validation\Constraint

Code

public string $invalidMappingMessage = 'It is not possible to map the source field @source_field_name of a media type.';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.