You are here

site_settings.routing.yml in Site Settings and Labels 8

File

site_settings.routing.yml
View source
  1. entity.site_setting_entity.collection:
  2. path: '/admin/content/site-settings'
  3. defaults:
  4. _entity_list: 'site_setting_entity'
  5. _title: 'Site settings'
  6. requirements:
  7. _permission: 'access site settings overview'
  8. site_settings.site_settings_config_form:
  9. path: '/admin/config/site-settings/config'
  10. defaults:
  11. _form: '\Drupal\site_settings\Form\SiteSettingsConfigForm'
  12. _title: 'SiteSettingsConfigForm'
  13. requirements:
  14. _permission: 'administer site setting entities'
  15. options:
  16. _admin_route: TRUE
  17. site_settings.site_setting_replicate_form:
  18. path: '/admin/structure/site_setting_entity_type/{setting}/replicate'
  19. defaults:
  20. _form: '\Drupal\site_settings\Form\SiteSettingReplicateForm'
  21. _title: 'SiteSettingReplicateForm'
  22. requirements:
  23. _permission: 'administer site setting entities'
  24. setting: ^[a-zA-Z0-9_]+
  25. options:
  26. _admin_route: TRUE