social_post.integrations:
  path: '/admin/config/social-api/social-post'
  defaults:
    _controller: '\Drupal\social_post\Controller\SocialPostController::integrations'
    _title: 'Autoposting settings'
    type: 'social_post'
  requirements:
    _permission: 'administer social api autoposting'

entity.social_post.delete_form:
  path: '/admin/config/social-api/social-post/users/social-post/{provider}/{social_post}/delete/{user}'
  defaults:
    _entity_form: 'social_post.delete'
    _title: 'Delete user'
    user: FALSE # A drupal user id will be passed instead if the form is invoked from user edit form
  requirements:
    _permission: 'delete own social post user accounts'
