Problem/Motivation

Media entity used to provide custom validation API to be used by type plugins. In #2529178: Convert media type validation code to a constraint we converted this feature to core's Constraint API. All media type providers need to follow that change.

Proposed resolution

Media entity image doesn't do any validation. We should just remove \Drupal\media_entity_image\Plugin\MediaEntity\Type\Image::validate() to follow change on MediaTypeInterface.

CommentFileSizeAuthor
#2 remove-image-validate-2578941-2.patch556 bytessdstyles

Comments

slashrsm created an issue. See original summary.

sdstyles’s picture

Status: Active » Needs review
StatusFileSize
new556 bytes

Removed \Drupal\media_entity_image\Plugin\MediaEntity\Type\Image::validate()

slashrsm’s picture

Status: Needs review » Fixed

Merged. Thank you!

  • slashrsm committed 6d83cbe on 8.x-1.x authored by sdstyles
    Issue #2578941 by sdstyles: [Chase media_entity] Remove \Drupal\...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.