You are here

public function DashboardDeleteForm::getConfirmText in Draggable dashboard 8

Same name and namespace in other branches
  1. 8.2 src/Form/DashboardDeleteForm.php \Drupal\draggable_dashboard\Form\DashboardDeleteForm::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/DashboardDeleteForm.php, line 69

Class

DashboardDeleteForm
Provides a form to delete Dashboard Form.

Namespace

Drupal\draggable_dashboard\Form

Code

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