function ConfigDeleteForm::getCancelText

Same name and namespace in other branches
  1. 4.x src/Form/ConfigDeleteForm.php \Drupal\devel\Form\ConfigDeleteForm::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/ConfigDeleteForm.php, line 136

Class

ConfigDeleteForm
Edit config variable form.

Namespace

Drupal\devel\Form

Code

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