You are here

onlyone.schema.yml in Allow a content type only once (Only One) 8

config/schema/onlyone.schema.yml

File

config/schema/onlyone.schema.yml
View source
  1. onlyone.settings:
  2. type: config_object
  3. label: 'Only One settings'
  4. mapping:
  5. onlyone_node_types:
  6. type: sequence
  7. label: 'Configured content types to have Only One node'
  8. sequence:
  9. type: string
  10. label: 'Content type machine name'
  11. onlyone_new_menu_entry:
  12. type: boolean
  13. label: 'Defines if a new menu entry will be created for the configured content types.'
  14. onlyone_redirect:
  15. type: boolean
  16. label: 'Defines where the user will be redirected if the content type is configured to have onlyone node.'