drupal/core/modules/search/config/schema/search.schema.yml

97 lines
2.3 KiB
YAML

# Schema for the configuration files of the search module.
search.settings:
type: mapping
label: 'Search settings'
mapping:
and_or_limit:
type: integer
label: 'AND/OR combination limit'
default_page:
type: string
label: 'Default search page'
index:
type: mapping
label: 'Indexing settings'
mapping:
cron_limit:
type: integer
label: 'Number of items to index per cron run'
overlap_cjk:
type: boolean
label: 'Simple CJK handling'
minimum_word_size:
type: integer
label: 'Minimum word length to index'
tag_weights:
type: mapping
label: 'HTML tags weight'
mapping:
h1:
type: integer
label: 'Tag h1 weight'
h2:
type: integer
label: 'Tag h2 weight'
h3:
type: integer
label: 'Tag h3 weight'
h4:
type: integer
label: 'Tag h4 weight'
h5:
type: integer
label: 'Tag h5 weight'
h6:
type: integer
label: 'Tag h6 weight'
u:
type: integer
label: 'Tag u weight'
b:
type: integer
label: 'Tag b weight'
i:
type: integer
label: 'Tag i weight'
strong:
type: integer
label: 'Tag strong weight'
em:
type: integer
label: 'Tag em weight'
a:
type: integer
label: 'Tag a weight'
search.page.*:
type: mapping
label: 'Search page'
mapping:
id:
type: string
label: 'Machine-readable name'
label:
type: label
label: 'Label'
uuid:
type: string
label: 'UUID'
status:
type: boolean
label: 'Enabled status of the configuration entity'
langcode:
type: string
label: 'Default language'
path:
type: string
label: 'Search page path'
weight:
type: integer
label: 'Weight'
plugin:
type: string
label: 'Plugin'
configuration:
type: search.plugin.[%parent.plugin]