GdprFieldSettingsDeleteForm.php in General Data Protection Regulation 3.0.x
File
modules/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php
View source
<?php
namespace Drupal\gdpr_fields\Form;
use Drupal\Core\Entity\EntityConfirmFormBase;
use Drupal\Core\Url;
class GdprFieldSettingsDeleteForm extends EntityConfirmFormBase {
public function getQuestion() {
return $this
->t('Are you sure you want to remove the GDPR settings from this field?');
}
public function getCancelUrl() {
return new Url('gdpr_fields.fields_list');
}
}