Problem/Motivation

When trying to use this module with D8, the foolowing error occurs when trying to setup the display (.../admin/config/people/accounts/display) :

Fatal error: Declaration of Drupal\social_profile_field\Plugin\Field\FieldFormatter\SocialProfileFieldDefaultFormatter::viewElements() must be compatible with Drupal\Core\Field\FormatterInterface::viewElements(Drupal\Core\Field\FieldItemListInterface $items, $langcode) in /mnt/srv/htdocs/t2t_D8/modules/social_profile_field/src/Plugin/Field/FieldFormatter/SocialProfileFieldDefaultFormatter.php on line 27

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slowflyer created an issue. See original summary.

sanchiz’s picture

Thank you, @slowflyer for issue! We'll take a look.

sanchiz’s picture

Status: Active » Needs review
FileSize
785 bytes

Path in attachment.

  • sanchiz committed 94fca18 on 8.x-1.x
    Issue #2623602 by sanchiz, slowflyer: Not working with current D8...
sanchiz’s picture

Status: Needs review » Fixed

Committed.

Available now in 8.x-1.x-dev or in 8.x-0.2 and later once released.

Status: Fixed » Needs work

The last submitted patch, 3: social_profile_field-fatal-2623602-3.patch, failed testing.

sanchiz’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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