class DataPolicyRevisionRevertForm in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.2 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.3 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.4 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.5 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.6 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.7 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 8.8 modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
- 10.0.x modules/custom/social_gdpr/src/Form/DataPolicyRevisionRevertForm.php \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm
Provides a form for reverting a Data policy revision.
Hierarchy
- class \Drupal\social_gdpr\Form\DataPolicyRevisionRevertForm extends \Drupal\data_policy\Form\DataPolicyRevisionRevertForm
Expanded class hierarchy of DataPolicyRevisionRevertForm
1 string reference to 'DataPolicyRevisionRevertForm'
- social_gdpr.routing.yml in modules/
custom/ social_gdpr/ social_gdpr.routing.yml - modules/custom/social_gdpr/social_gdpr.routing.yml
File
- modules/
custom/ social_gdpr/ src/ Form/ DataPolicyRevisionRevertForm.php, line 13
Namespace
Drupal\social_gdpr\FormView source
class DataPolicyRevisionRevertForm extends DataPolicyRevisionRevertFormBase {
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return new Url('social_gdpr.data_policy.revisions');
}
/**
* {@inheritdoc}
*/
public function getConfirmText() {
return $this
->t('Yes');
}
/**
* {@inheritdoc}
*/
public function getQuestion() {
return $this
->t('Are you sure to revert this revision');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DataPolicyRevisionRevertForm:: |
public | function | ||
DataPolicyRevisionRevertForm:: |
public | function | ||
DataPolicyRevisionRevertForm:: |
public | function |