Problem/Motivation
Error while loading site pages that renders the thumbnails:
Fatal error:
Declaration of Drupal\media_thumbnails_video\Plugin\Field\FieldFormatter\VideoExtendedFormatter::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode) must be compatible with Drupal\file\Plugin\Field\FieldFormatter\FileVideoFormatter::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode): array in /code/web/modules/contrib/media_thumbnails_video/src/Plugin/Field/FieldFormatter/VideoExtendedFormatter.php on line 52
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3593624-drupal11-viewelements-return-type-4.patch | 716 bytes | rigoucr |
Issue fork media_thumbnails_video-3593624
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rigoucrComment #4
rigoucrProviding MR and patch
Comment #5
lamp5Comment #7
lamp5We need to add to composer.json info about Drupal version for the next release.