You are here

public function DashboardDeleteForm::getConfirmText in Draggable dashboard 8.2

Same name and namespace in other branches
  1. 8 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 EntityConfirmFormBase::getConfirmText

File

src/Form/DashboardDeleteForm.php, line 39

Class

DashboardDeleteForm
Provides a form to delete Dashboard Form.

Namespace

Drupal\draggable_dashboard\Form

Code

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