I created a /config/schema/drupolo.yml file with the following content.
drupolo.social_network.setting:
type: config_object
label: 'Sacd Menu module settings.'
mapping:
facebook_page:
type: string #Type: can be string | integer | boolean
label: 'Facebook page'
twiiter_page:
type: string
label: 'Twitter page'
I created the /config/install/drupolo.social_network.setting.yml file with a key that doesn't exist in the schema file.
The problem is that the module is installed and the configuration is stored in the configuration table, and it doesn't respect the schema file.
facebook_page: 'https://facebook.com/default'
twitter_page: 'https://twiiter.com/default'
linkedn_page: 'http://linkedin.com' # key that don't respect the "drupolo.social_network.setting" structure that has been declared in the drupolo.yml
What is the purpose of the /config/schema/{module}.yml file if the config/install won't respect that structure?