legal.routing.yml in Legal 8
Same filename and directory in other branches
2 string references to YAML keys in legal.routing.yml
- legal_accept_label in ./
legal.module - The accept terms and conditions label.
- legal_help in ./
legal.module - Implements hook_help().
File
legal.routing.ymlView source
- legal.config_legal:
- path: '/admin/config/people/legal'
- defaults:
- _form: '\Drupal\legal\Form\LegalAdminTermsForm'
- _title: 'Legal'
- requirements:
- _permission: 'administer Terms and Conditions'
- legal.config_terms:
- path: '/admin/config/people/legal/terms'
- defaults:
- _form: '\Drupal\legal\Form\LegalAdminTermsForm'
- _title: 'Add T&C'
- requirements:
- _permission: 'administer Terms and Conditions'
- legal.config_settings:
- path: '/admin/config/people/legal/settings'
- defaults:
- _form: '\Drupal\legal\Form\LegalAdminSettingsForm'
- _title: 'Configure T&C'
- requirements:
- _permission: 'administer Terms and Conditions'
- legal.config_language:
- path: '/admin/config/people/legal/languages'
- defaults:
- _form: '\Drupal\legal\Form\LegalLanguageSettings'
- _title: 'Languages'
- requirements:
- _custom_access: '\Drupal\legal\Form\LegalLanguageSettings::access'
- _permission: 'administer Terms and Conditions'
- legal.legal:
- path: '/legal'
- defaults:
- _controller: '\Drupal\legal\Controller\LegalController::legalPageAction'
- _title: 'Terms and Conditions'
- requirements:
- _permission: 'view Terms and Conditions'
- legal.legal_login:
- path: '/legal_accept'
- defaults:
- _form: '\Drupal\legal\Form\LegalLogin'
- _title: 'Terms and Conditions'
- requirements:
- _custom_access: '\Drupal\legal\Form\LegalLogin::access'
- options:
- user: \d+