You are here

public function MaestroTraceDeleteTask::getConfirmText in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Form/MaestroTraceDeleteTask.php \Drupal\maestro\Form\MaestroTraceDeleteTask::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/MaestroTraceDeleteTask.php, line 61

Class

MaestroTraceDeleteTask
The confirm form for deleting a task.

Namespace

Drupal\maestro\Form

Code

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