devdocs-8.x-1.x-dev/devdocs.routing.yml

devdocs.routing.yml
devdocs.files:
  path: '/system/docs/{scheme}'
  defaults:
    _controller: 'Drupal\devdocs\Controller\DocsDownloadController::download'
    scheme: docs
  requirements:
    _permission: 'access developer documentation'
devdocs.docs_file_download:
  path: '/system/docs/{filepath}'
  defaults:
    _controller: 'Drupal\devdocs\Controller\DocsDownloadController::download'
  requirements:
    _permission: 'access developer documentation'

devdocs.settings.form:
  path: '/admin/reports/devdocs/settings'
  defaults:
    _form: '\Drupal\devdocs\Form\DevDocsSettingsForm'
    _title: 'DevDocs Settings'
  requirements:
    _permission: 'configure developer documentation'
devdocs.settings.files:
  path: '/admin/reports/devdocs/files'
  defaults:
    _form: '\Drupal\devdocs\Form\DevDocsFilesForm'
    _title: 'Documentation files'
  requirements:
    _permission: 'configure developer documentation'
devdocs.settings.output:
  path: '/admin/reports/devdocs/output'
  defaults:
    _controller: '\Drupal\devdocs\Controller\DocsOutput::docs'
    _title: 'Developer documentation'
  requirements:
    _permission: 'access developer documentation'

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

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