gdpr_consent.routing.yml in General Data Protection Regulation 8
Same filename and directory in other branches
modules/gdpr_consent/gdpr_consent.routing.yml
3 string references to YAML keys in gdpr_consent.routing.yml
- ConsentAgreementRevisionRevertForm::getCancelUrl in modules/
gdpr_consent/ src/ Form/ ConsentAgreementRevisionRevertForm.php - Returns the route to go to if the user cancels the action.
- ConsentAgreementRevisionRevertForm::submitForm in modules/
gdpr_consent/ src/ Form/ ConsentAgreementRevisionRevertForm.php - Form submission handler.
- UserController::collectedData in src/
Controller/ UserController.php - Return the collected data for a user.
File
modules/gdpr_consent/gdpr_consent.routing.ymlView source
- gdpr_consent.agreements:
- path: '/user/{user}/gdpr/agreements'
- defaults:
- _controller: '\Drupal\gdpr_consent\Controller\ConsentAgreementController::myAgreements'
- requirements:
- _permission: 'administer users'
- user_id: \d+
-
- entity.gdpr_consent_agreement.version_history:
- path: '/admin/gdpr/agreements/{gdpr_consent_agreement}/revisions'
- defaults:
- _title: 'Revisions'
- _controller: '\Drupal\gdpr_consent\Controller\ConsentAgreementController::revisionOverview'
- requirements:
- _permission: 'manage gdpr agreements'
- gdpr_consent_agreement: \d+