MediaMappingsConstraint::$invalidMappingMessage
Same name in other branches
- 10 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\ConstraintCode
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.