Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comments
Comment #3
martijn.cuppens CreditAttribution: martijn.cuppens at VerveQuest commentedThanks!
I've added it in https://git.drupalcode.org/project/jslog/-/commit/d9dc3d1. I've changed
excluded_messages
to typetext
since this is a multiline value. Does it look ok, @JeroenT?Comment #4
JeroenT👌
Comment #5
JeroenTFilename should be
jslog.schema.yml
instead ofjslog.settings.yml
Comment #6
martijn.cuppens CreditAttribution: martijn.cuppens at VerveQuest commented