Problem/Motivation

Schema for formatter is missing.

Steps to reproduce

.

Proposed resolution

Add schema file for formatter settings.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

lamp5 created an issue. See original summary.

lamp5’s picture

Status: Active » Needs review
StatusFileSize
new506 bytes
lamp5’s picture

StatusFileSize
new697 bytes

Added field settings.

  • kyberman committed a18280e on 8.x-1.x
    Issue #3249429 by lamp5, kyberman: Schema is missing
    
kyberman’s picture

Category: Bug report » Task
Status: Needs review » Fixed

Thank you very much @lamp5!

I committed the schema with a few improvements.

Best regards
Vit

Status: Fixed » Closed (fixed)

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

grevil’s picture

This issue provided a schema definition for exclude, negate and display_field, but never provided an update hook to adjust the values for preexisting installations.

"display_field" and "exclude" are fine, since they are strings. But we need to provide an update hook for "negate", since originally integer was used for this setting:

variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData

I'll create a follow-up issue.