Update Media.php in order to fix validation constraints overwrite.
https://www.drupal.org/project/drupal/issues/3424200 This should fix validation constraints being cleared by Media module for media_source as it was getting only constraints from media_source by using getSourceFieldConstraints() and then setting constraints instead of adding them thus clearing all other constraints that could be added elsewhere.
Merge request reports
Activity
Please register or sign in to reply