You are here

public function WebformCompositeDeleteForm::getConfirmText in Webform Composite Tools 8

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/WebformCompositeDeleteForm.php, line 26

Class

WebformCompositeDeleteForm
Defines WebforCompositeDeleteForm.

Namespace

Drupal\webform_composite\Form

Code

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