You are here

public function ShurlyDeactivateForm::getCancelText in ShURLy 8

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

src/Form/ShurlyDeactivateForm.php, line 76

Class

ShurlyDeactivateForm
ShurlyDeactivateForm.

Namespace

Drupal\shurly\Form

Code

public function getCancelText() {
  return t('Cancel');
}