Problem/Motivation

Currently, this module is missing a config schema for the config object "jslog.settings".

More info: https://www.drupal.org/docs/drupal-apis/configuration-api/configuration-...
Module to validate: https://www.drupal.org/project/config_inspector

In config/schema, create a file jslog.schema.yml

The file should be something like:

  jslog.settings:
    type: config_object
    mapping:
      excluded_messages:
        type: string
      excluded_user_agents_regex:
        type: string
      maximum_messages_per_page:
        type: integer

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

JeroenT created an issue. See original summary.

martijn.cuppens’s picture

Thanks!

I've added it in https://git.drupalcode.org/project/jslog/-/commit/d9dc3d1. I've changed excluded_messages to type text since this is a multiline value. Does it look ok, @JeroenT?

JeroenT’s picture

Status: Active » Fixed

👌

JeroenT’s picture

Status: Fixed » Needs work

Filename should be jslog.schema.yml instead of jslog.settings.yml

martijn.cuppens’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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