diff --git a/core/modules/system/config/schema/system.data_types.schema.yml b/core/modules/system/config/schema/system.data_types.schema.yml index ac9bc78..791c722 100644 --- a/core/modules/system/config/schema/system.data_types.schema.yml +++ b/core/modules/system/config/schema/system.data_types.schema.yml @@ -53,11 +53,33 @@ text: # Mail text with subject and body parts. mail: type: mapping - label: "Mail" + label: 'Mail' mapping: - "subject": + subject: type: text - label: "Subject" - "body": + label: 'Subject' + body: type: text - label: "Body" + label: 'Body' + +# Date format with name, pattern +date_format: + type: mapping + label: 'Date Format' + mapping: + name: + type: 'string' + label: 'Format name' + pattern: + type: mapping + label: 'Patterns' + mapping: + php: + type: 'string' + label: 'PHP date format' + intl: + type: 'string' + label: 'International' + locked: + type: boolean + label: 'Locked' diff --git a/core/modules/system/config/schema/system.schema.yml b/core/modules/system/config/schema/system.schema.yml index ad6755d..71ace26 100644 --- a/core/modules/system/config/schema/system.schema.yml +++ b/core/modules/system/config/schema/system.schema.yml @@ -1,39 +1,265 @@ -# Schema for configuration files of system module: +# Schema for configuration files of system module. system.site: type: mapping label: 'Site information' mapping: - "name": - label: "Site name" + name: + label: 'Site name' type: label - "mail": - label: "Site mail" + mail: + label: 'Site mail' type: email - "slogan": - label: "Site slogan" + slogan: + label: 'Site slogan' type: text - "page": + page: type: mapping mapping: - "403": + 403: type: path - "404": + 404: type: path - "front": + front: type: path - label: "Front page path" - "admin_compact_mode": + label: 'Front page path' + admin_compact_mode: type: boolean - "weight_select_max": + weight_select_max: type: integer system.maintenance: type: mapping label: 'Maintenance mode' mapping: - "enabled": + enabled: type: boolean - label: "Put site into maintenance mode" - "message": + label: 'Put site into maintenance mode' + message: type: text - label: "Message to display when in maintenance mode" + label: 'Message to display when in maintenance mode' + +system.authorize: + type: mapping + label: 'Authorize settings' + mapping: + allow_authorize_operations: + type: boolean + label: 'Allow authorize operations' + filetransfer_default: + type: string + label: 'Default file transfer protocol' + +system.cron: + type: mapping + label: 'Cron settings' + mapping: + threshold: + type: mapping + label: 'Cron threshold settings' + mapping: + autorun: + type: integer + label: 'Autorun period' + requirements_warning: + type: integer + label: 'Requirements warning period' + requirements_error: + type: integer + label: 'Requirements error period' + +system.date: + type: mapping + label: 'Date settings' + mapping: + first_day: + type: integer + label: 'First day' + country: + type: mapping + label: 'Country' + mapping: + default: + type: string + label: 'Default country' + formats: + type: mapping + label: 'Date formats' + mapping: + long: + type: date_format + label: 'Long format' + medium: + type: date_format + label: 'Medium format' + short: + type: date_format + label: 'Short format' + html_datetime: + type: date_format + label: 'HTML datetime' + html_date: + type: date_format + label: 'HTML date' + html_time: + type: date_format + label: 'HTML time' + html_yearless_date: + type: date_format + label: 'HTML yearless date' + html_week: + type: date_format + label: 'HTML week' + html_month: + type: date_format + label: 'HTML month' + html_year: + type: date_format + label: 'HTML year' + +system.fast_404: + type: mapping + label: 'Fast 404 settings' + mapping: + enabled: + type: boolean + label: 'Fast 404 enabled' + paths: + type: string + label: 'Fast 404 paths' + exclude_paths: + type: string + label: 'Fast 404 exclude paths' + html: + type: string + label: 'Fast 404 html' + +system.filter: + type: mapping + label: 'Filter settings' + mapping: + protocols: + type: sequence + label: 'Protocols' + +system.logging: + type: mapping + label: 'Logging settings' + mapping: + error_level: + type: string + label: 'Error level' + +system.menu: + type: mapping + label: 'Menu settings' + mapping: + active_menus_default: + type: string + label: 'Active menus' + +system.performance: + type: mapping + label: 'Performance settings' + mapping: + cache: + type: mapping + label: 'Cache' + mapping: + page: + type: mapping + label: 'Page cache' + mapping: + enabled: + type: boolean + label: 'Page cache enabled' + max_age: + type: integer + label: 'Max age of page cache' + css: + type: mapping + label: 'CSS performance settings' + mapping: + preprocess: + type: boolean + label: 'CSS preprocess' + gzip: + type: boolean + label: 'CSS gzip' + js: + type: mapping + label: 'JS performance settings' + mapping: + preprocess: + type: boolean + label: 'JS preprocess' + gzip: + type: boolean + label: 'JS gzip' + response: + type: mapping + label: 'Cached page compression' + mapping: + gzip: + type: boolean + label: 'Cached page gzip' + stale_file_threshold: + type: integer + label: 'Stale file threshold' + theme_link: + type: boolean + label: 'Theme link' + +system.rss: + type: mapping + label: 'RSS settings' + mapping: + channel: + type: mapping + label: 'RSS channel' + mapping: + description: + type: string + label: 'RSS description' + items: + type: mapping + label: 'RSS items' + mapping: + limit: + type: integer + description: 'RSS item limit' + view_mode: + type: string + description: 'RSS view mode' + +system.theme: + type: mapping + label: 'Theme settings' + mapping: + admin: + type: string + label: 'Admin theme' + enabled: + type: string + label: 'Enabled themes' + +system.timezone: + type: mapping + label: 'Timezone settings' + mapping: + default: + type: string + label: 'Default timezone settings' + user: + type: mapping + mapping: + configurable: + type: boolean + label: 'User configurable timezones' + default: + type: integer + label: 'Default timezone setting at registration' + warn: + type: boolean + label: 'Warn user with no timezone' + +