Implement configuration schema for Views reference field storage+settings and widget+formatter

Created on 31 March 2018, over 7 years ago
Updated 11 October 2023, over 1 year ago

Hi,

Great module, thanks for all your efforts. I include it in the Bootstrap Paragraphs module. I was adding a PHPUnit test and got an error that field_name:settings.target_type is missing schema.

Adding a new field, with some of the new settings I see that settings now is an array, but the 4 items in that array are undefined and missing their schemas.

settings.handler
settings.handler_settings
settings.plugin_types
settings.preselect_views

I believe this can be fixed by including schema.yml files in the module to define them.

References:
The Webform module has some good examples that could possibly be used as a reference:
https://cgit.drupalcode.org/webform/tree/config/schema

Configuration Inspector module:
https://www.drupal.org/project/config_inspector β†’

Configuration Schema Doc
https://www.drupal.org/docs/8/api/configuration-api/configuration-schema... β†’

πŸ“Œ Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024