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\FormCode
public function getCancelText() {
return t('Cancel');
}