Submitted by admin on Thu, 08/11/2016 - 15:28

Location on the page: In the code, at the end

The following line

public function viewElements(FieldItemListInterface $items) {

should be changed to

public function viewElements(FieldItemListInterface $items,$langcode) {

Description : Changes as per latest release of Drupal