You are here

public function WebformConfigEntityDeleteFormBase::getCancelText in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Form/WebformConfigEntityDeleteFormBase.php \Drupal\webform\Form\WebformConfigEntityDeleteFormBase::getCancelText()

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormInterface::getCancelText

File

src/Form/WebformConfigEntityDeleteFormBase.php, line 116

Class

WebformConfigEntityDeleteFormBase
Provides a generic base class for a webform entity deletion form.

Namespace

Drupal\webform\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}