Add default config & config schema

Created on 10 July 2024, 3 months ago

Problem/Motivation

Default config doesn't have to be set in hook_install. Config schema is also missing.

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Merge Requests

Comments & Activities

  • Issue created by @dieterholvoet
  • Status changed to Needs review 3 months ago
  • 🇧🇪Belgium dieterholvoet Brussels

    The config schema for required_plugin_options will have to be provided by the respective modules. This is what it looks like in my WIP required_by_content_moderation_state module:

    # config/schema/required_by_content_moderation_state.schema.yml
    required_api.plugin_options.required_by_content_moderation_state:
      type: sequence
      label: 'Content moderation states'
      sequence:
        type: string
        label: 'Content moderation state'
    
  • Merge request !7Resolve #3460510 "Default config" → (Open) created by dieterholvoet
Production build 0.71.5 2024