This piece in src/Plugin/Field/FieldFormatter/TitleFormatter.php

  public static function defaultSettings() {
    return [
      'tag' => 'h2',
      'linked' => '1',
    ];
  }

makes configuration always overridden between active and staged, because 'linked' in fact is boolean, not string. Patch attached.

CommentFileSizeAuthor
default_settings.patch477 bytesgease

Comments

gease created an issue. See original summary.

adamps’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @gease that makes sense to me. I will commit next time I am working on this module.

  • AdamPS committed 4ad3737 on 8.x-1.x authored by gease
    Issue #3121162 by gease: Default TitleFormatter setting is string...
adamps’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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