Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 10.93 KB
MD5: d7d213b9d871d48ef2f56760dfd2f918
SHA-1: 176a751776ea4d42393a08019b1a7d1e8d6b585a
SHA-256: b3c6d34b6b4d02be80705eaba5bcea3b90e2cff069d179ad256d360b222bdd55
Download zip 13.94 KB
MD5: d2549f11dcc43d877cee0480fd55b267
SHA-1: c94232483ae9e9d41918c9d8935f494095f6fb74
SHA-256: 77e3178d277858b8d5f2032cdaa7a3f272a7200da80be68ec57ca18a9b7bcce8

Release notes

You'll probably have to clear your site cache after downloading this new version. You may also want to re-save any entity displays that use this formatter. Most of the changes in this release were code improvements, but there is one important bug fix.

Previously the plugin did not declare its dependencies to entity view displays. That means if you configured a field to use this plugin, then deleted the facet that it was set with, then the entity display page and its configuration form stopped working. There was an easy fix - just re-add a facet with the same machine name. Then everything would work again. Change the field formatter before deleting the facet and there's no problem.

Beta2 fixes the problem by declaring the facets as dependencies... mostly. There is a bug in core, #2865710: Dependencies from only one instance of a widget are used in display modes, that causes an issue with the dependency declaration. Basically, if you have more than one field using this formatter, then it's only going to register one of the dependent facets. I've tried to help move that issue along by reviewing the patch. If your content entity uses this formatter for more than one field then you have two options: use the workaround mentioned above to avoid the problem or apply the patch from comment #9 in that issue to fix it until it gets committed to core. Note that the patch will not fix a broken site if you've already deleted a dependent facet. It also will not automatically add the dependencies to already-configured displays. To add the dependencies, you need to re-save the display.

Created by: dcam
Created on: 26 Jul 2017 at 23:46 UTC
Last updated: 29 Aug 2017 at 15:24 UTC
Bug fixes
Unsupported

Other releases