social_gdpr.routing.yml in Open Social 10.1.x
Same filename and directory in other branches
- 8.9 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.2 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.3 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.4 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.5 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.6 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.7 modules/custom/social_gdpr/social_gdpr.routing.yml
- 8.8 modules/custom/social_gdpr/social_gdpr.routing.yml
- 10.0.x modules/custom/social_gdpr/social_gdpr.routing.yml
modules/custom/social_gdpr/social_gdpr.routing.yml
8 string references to YAML keys in social_gdpr.routing.yml
- AddDataPolicyRevision::build in modules/
custom/ social_gdpr/ src/ Plugin/ Block/ AddDataPolicyRevision.php - Builds and returns the renderable array for this block plugin.
- DataPolicy::revisionsOverviewPage in modules/
custom/ social_gdpr/ src/ Controller/ DataPolicy.php - DataPolicyRevisionDeleteForm::getCancelUrl in modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionDeleteForm.php - DataPolicyRevisionRevertForm::getCancelUrl in modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionRevertForm.php - Redirect::checkForRedirection in modules/
custom/ social_gdpr/ src/ Subscriber/ Redirect.php - This method is called when the KernelEvents::REQUEST event is dispatched.
File
modules/custom/social_gdpr/social_gdpr.routing.ymlView source
- social_gdpr.data_policy.add:
- path: '/data-policy/revisions/add'
- defaults:
- _entity_form: 'data_policy.edit'
- _title: 'Add new revision'
- requirements:
- _permission: 'edit data policy'
-
- social_gdpr.data_policy.revisions:
- path: '/data-policy/revisions'
- defaults:
- _controller: '\Drupal\social_gdpr\Controller\DataPolicy::revisionsOverviewPage'
- _title: 'Revisions'
- requirements:
- _permission: 'view all data policy revisions'
-
- social_gdpr.data_policy.revision:
- path: '/data-policy/revisions/{data_policy_revision}'
- defaults:
- _controller: '\Drupal\data_policy\Controller\DataPolicy::revisionOverviewPage'
- _title_callback: '\Drupal\social_gdpr\Controller\DataPolicy::revisionOverviewTitle'
- requirements:
- _permission: 'access data policy revisions'
-
- social_gdpr.data_policy.revision_edit:
- path: '/data-policy/revisions/{data_policy_revision}/edit'
- defaults:
- _form: '\Drupal\data_policy\Form\DataPolicyRevisionEdit'
- _title: 'Edit revision'
- requirements:
- _custom_access: '\Drupal\data_policy\Controller\DataPolicy::revisionEditAccess'
-
- social_gdpr.data_policy.revision_revert:
- path: '/data-policy/revisions/{data_policy_revision}/revert'
- defaults:
- _form: '\Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm'
- _title: 'Are you sure to revert this revision'
- requirements:
- _permission: 'revert all data policy revisions'
-
- social_gdpr.data_policy.translation_revert:
- path: '/data-policy/revisions/{data_policy_revision}/revert/{langcode}'
- defaults:
- _form: '\Drupal\social_gdpr\Form\DataPolicyRevisionRevertTranslationForm'
- _title: 'Are you sure to revert this revision of a translation'
- requirements:
- _permission: 'revert all data policy revisions'
-
- social_gdpr.data_policy.revision_delete:
- path: '/data-policy/revisions/{data_policy_revision}/delete'
- defaults:
- _form: '\Drupal\social_gdpr\Form\DataPolicyRevisionDeleteForm'
- _title: 'Delete'
- requirements:
- _permission: 'delete all data policy revisions'