social_gdpr.routing.yml in Open Social 8.5
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.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
- 10.1.x modules/custom/social_gdpr/social_gdpr.routing.yml
modules/custom/social_gdpr/social_gdpr.routing.yml
9 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.
- Block::preprocess in themes/
socialbase/ src/ Plugin/ Preprocess/ Block.php - Preprocess theme hook variables.
- DataPolicy::revisionsOverviewPage in modules/
custom/ social_gdpr/ src/ Controller/ DataPolicy.php - Generates an overview table of older revisions of a Data policy.
- DataPolicyRevisionDeleteForm::getCancelUrl in modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionDeleteForm.php - Returns the route to go to if the user cancels the action.
- DataPolicyRevisionRevertForm::getCancelUrl in modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionRevertForm.php - Returns the route to go to if the user cancels the action.
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'