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

sachbearbeiter created an issue. See original summary.

sachbearbeiter’s picture

Title: Viewsfield against D8rc3: Fatal error: Declaration of Drupal\viewfield\Plugin\Field\FieldFormatter\ViewfieldDefaultFormatter::viewElements() » Viewfield against D8rc3: Fatal error: Declaration of Drupal\viewfield\Plugin\Field\FieldFormatter\ViewfieldDefaultFormatter::viewElements()
derhasi’s picture

This 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.

Anonymous’s picture

Status: Active » Fixed

@derhasi thanks for the patch.

sachbearbeiter’s picture

@derhasi + @pferlito

Thanks ...

Status: Fixed » Closed (fixed)

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