public function ApplyForRoleConfirmActionForm::getCancelText in Apply for role 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/ ApplyForRoleConfirmActionForm.php, line 116
Class
Namespace
Drupal\apply_for_role\FormCode
public function getCancelText() {
return $this
->t('Cancel');
}