social_post-8.x-2.x-dev/social_post.routing.yml

social_post.routing.yml
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'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc