Closed (fixed)
Project:
Drupal 8 version for Viewfield
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2015 at 11:43 UTC
Updated:
9 Dec 2015 at 09:24 UTC
Jump to comment: Most recent
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 commentedComment #3
derhasi 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) commented@derhasi thanks for the patch.
Comment #6
sachbearbeiter commented@derhasi + @pferlito
Thanks ...