Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
i try to add a viewsfield on D8rc3 and get here admin/structure/types/manage/article/fields/add-field:
Fatal error: Declaration of Drupal\viewfield\Plugin\Field\FieldFormatter\ViewfieldDefaultFormatter::viewElements() must be compatible with Drupal\Core\Field\FormatterInterface::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode) in /home/dfsmd/www/modules/viewfield/src/Plugin/Field/FieldFormatter/ViewfieldDefaultFormatter.php on line 0
Regards
SB
Comments
Comment #2
sachbearbeiter CreditAttribution: sachbearbeiter commentedComment #3
derhasi CreditAttribution: derhasi at undpaul commentedThis is fixed by the version sachbearbeiter uploaded to https://www.drupal.org/node/2220929. See https://www.drupal.org/node/2220929#comment-10600846 for the interdiff.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commented@derhasi thanks for the patch.
Comment #6
sachbearbeiter CreditAttribution: sachbearbeiter commented@derhasi + @pferlito
Thanks ...