New Fatal Error appeared in Drupal 8 beta 16 on manage display page, if youtube field added to Content Type.
Fatal error: Declaration of Drupal\youtube\Plugin\Field\FieldFormatter\YouTubeThumbFormatter::viewElements() must be compatible with Drupal\Core\Field\FormatterInterface::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode) in /youtube/src/Plugin/Field/FieldFormatter/YouTubeThumbFormatter.php on line 0

Comments

afi13 created an issue. See original summary.

afi13’s picture

Status: Active » Needs review
StatusFileSize
new1.2 KB

  • guschilds committed 4eb48ec on 8.x-1.x authored by afi13
    Issue #2579859 by afi13: Fixed fatal FormatterInterface::viewElements...
guschilds’s picture

Status: Needs review » Fixed

I have reproduced the fatal error and have confirmed that this patch fixes it. I've committed it to the 8.x-1.x branch. Thanks for your help!

Status: Fixed » Closed (fixed)

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