You are here

social_media.routing.yml in Social media share 8

File

social_media.routing.yml
View source
  1. social_media.admin_form:
  2. path: '/admin/config/services/social-media'
  3. defaults:
  4. _form: '\Drupal\social_media\Form\SocialMediaAdminForm'
  5. _title: 'Social media settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. options:
  9. _admin_route: TRUE
  10. social_media.forward:
  11. path: '/social-media-forward'
  12. defaults:
  13. _form: '\Drupal\social_media\Form\ForwardEmailForm'
  14. _title: 'Forward email'
  15. requirements:
  16. _custom_access: '\Drupal\social_media\Controller\AccessController::access'