Skip to content

Instantly share code, notes, and snippets.

@renebakx
Last active May 8, 2019 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renebakx/0b69fb57375fa401e23d79022fd6616c to your computer and use it in GitHub Desktop.
Save renebakx/0b69fb57375fa401e23d79022fd6616c to your computer and use it in GitHub Desktop.
tndt_config.schema.yml
tndt_config.siteconfig:
type: config_object
mapping:
right_text:
type: string
label: 'Text block right'
translatable: true
right_title:
type: string
label: 'Title block right'
translatable: true
contact_right_link:
type: string
label: 'Path contact right'
translatable: true
contact_right_title:
type: string
label: 'Title contact right'
translatable: true
contact_right_link_text:
type: string
label: 'Text contact right'
translatable: true
left_title:
type: string
label: 'Title block left'
translatable: true
contact_left_link:
type: string
label: 'Path contact left'
translatable: true
contact_left_title:
type: string
label: 'Title contact left'
translatable: true
contact_left_link_text:
type: string
label: 'Text contact left'
translatable: true
newsletter_title:
type: string
label: 'Newsletter title'
translatable: true
newsletter_url:
type: string
label: 'Newsletter url'
translatable: true
flickr:
type: string
label: 'Flickr url'
translatable: true
linkedin:
type: string
label: 'LinkedIN url'
translatable: true
twitter:
type: string
label: 'Twitter url'
translatable: true
twitter_account:
type: string
label: 'Twitter account name'
translatable: true
default_langcode:
type: string
label: 'Site default language code'
tntd_config.siteconfig:
title: 'Sitewide Configuration'
base_route_name: tndt_config.siteconfig_form
names:
- tndt_config.siteconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment