You are here

social_post.routing.yml in Social Post 8.2

Same filename and directory in other branches
  1. 8 social_post.routing.yml
  2. 3.x social_post.routing.yml

File

social_post.routing.yml
View source
  1. social_post.integrations:
  2. path: '/admin/config/social-api/social-post'
  3. defaults:
  4. _controller: '\Drupal\social_post\Controller\SocialPostController::integrations'
  5. _title: 'Autoposting settings'
  6. type: 'social_post'
  7. requirements:
  8. _permission: 'administer social api autoposting'
  9. entity.social_post.delete_form:
  10. path: '/admin/config/social-api/social-post/users/social-post/{provider}/{social_post}/delete/{user}'
  11. defaults:
  12. _entity_form: 'social_post.delete'
  13. _title: 'Delete user'
  14. user: FALSE # A drupal user id will be passed instead if the form is invoked from user edit form
  15. requirements:
  16. _permission: 'delete own social post user accounts'