You are here

public function GridStackDeleteForm::getConfirmText in GridStack 8

Same name and namespace in other branches
  1. 8.2 modules/gridstack_ui/src/Form/GridStackDeleteForm.php \Drupal\gridstack_ui\Form\GridStackDeleteForm::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/gridstack_ui/src/Form/GridStackDeleteForm.php, line 31

Class

GridStackDeleteForm
Builds the form to delete a GridStack optionset.

Namespace

Drupal\gridstack_ui\Form

Code

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