Problem
Error: Object of class Drupal\taxonomy_formatter\Plugin\Field\FieldFormatter\TaxonomyTermReferenceFormatter could not be converted to string en Drupal\taxonomy_formatter\Plugin\Field\FieldFormatter\TaxonomyTermReferenceFormatter->settingsSummary() (línea 112 de taxonomy_formatter/src/Plugin/Field/FieldFormatter/TaxonomyTermReferenceFormatter.php)
Steps to reproduce
Edit formatter settings and activate link to terms.
Proposed resolution
There is a little mistake in the code on line 112,
Now
$summary[] = $this->$this->t('<br>The terms will link to the term pages');
Solution
$summary[] = $this->t('<br>The terms will link to the term pages');
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | error_when_activate_links_to_terms-3319102-2.patch | 990 bytes | maxmendez |
Comments
Comment #2
maxmendez commentedThere the patch.
Comment #3
maxmendez commentedComment #5
geoanders commentedGood catch! Now fixed in dev branch.