You are here

public function TaskTypeDeleteForm::getConfirmText in General Data Protection Regulation 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/gdpr_tasks/src/Form/TaskTypeDeleteForm.php \Drupal\gdpr_tasks\Form\TaskTypeDeleteForm::getConfirmText()
  2. 8 modules/gdpr_tasks/src/Form/TaskTypeDeleteForm.php \Drupal\gdpr_tasks\Form\TaskTypeDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

modules/gdpr_tasks/src/Form/TaskTypeDeleteForm.php, line 31

Class

TaskTypeDeleteForm
Builds the form to delete Task type entities.

Namespace

Drupal\gdpr_tasks\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}