It was added to media_entity as part of https://github.com/drupal-media/media_entity/pull/20.

Twitter and image plugins already implemented it (which can be used as an example):
https://github.com/drupal-media/media_entity_twitter/pull/2
https://github.com/drupal-media/media_entity_image/pull/2

Comments

  • slashrsm committed b3a39cf on 8.x-1.x
    Issue #2390745 by slashrsm: Add generic icon.
    
slashrsm’s picture

slashrsm’s picture

Status: Needs review » Fixed

  • slashrsm committed 559f4ec on 8.x-1.x
    Issue #2390745 by slashrsm: Use maxres image.
    
  • slashrsm committed 7d59fd3 on 8.x-1.x
    Issue #2390745 by slashrsm: Fix typo.
    
  • slashrsm committed ee66546 on 8.x-1.x
    Issue #2390745 by slashrsm: Implement MediaTypeInterface::thumbnail().
    

Status: Fixed » Closed (fixed)

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

yesct’s picture

Issue tags: -Noice +Novice

I dont think we meant to add a tag Noice. :)