robotstxt.routing.yml in RobotsTxt 8
1 string reference to YAML keys in robotstxt.routing.yml
- robotstxt_help in ./
robotstxt.module - Implements hook_help().
File
robotstxt.routing.ymlView source
- robotstxt.admin_settings_form:
- path: '/admin/config/search/robotstxt'
- defaults:
- _form: '\Drupal\robotstxt\Form\RobotsTxtAdminSettingsForm'
- _title: 'RobotsTxt'
- requirements:
- _permission: 'administer robots.txt'
-
- robotstxt.content:
- path: '/robots.txt'
- defaults:
- _controller: '\Drupal\robotstxt\Controller\RobotsTxtController::content'
- _disable_route_normalizer: 'TRUE'
- requirements:
- # The robots.txt page should be opened for all.
- _access: 'TRUE'