Skip to content
Snippets Groups Projects
Unverified Commit 00d864da authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2999387 by iuana, tashaharrison80, fgm, mradcliffe: Types documented...

Issue #2999387 by iuana, tashaharrison80, fgm, mradcliffe: Types documented for method returns on ConfirmFormInterface are mostly wrong
parent 7254e79e
No related branches found
Tags 4.0.1
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -10,7 +10,7 @@ interface ConfirmFormInterface extends FormInterface {
/**
* Returns the question to ask the user.
*
* @return string
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The form question. The page title will be set to this value.
*/
public function getQuestion();
......@@ -26,7 +26,7 @@ public function getCancelUrl();
/**
* Returns additional text to display as a description.
*
* @return string
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The form description.
*/
public function getDescription();
......@@ -34,7 +34,7 @@ public function getDescription();
/**
* Returns a caption for the button that confirms the action.
*
* @return string
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The form confirmation text.
*/
public function getConfirmText();
......@@ -42,7 +42,7 @@ public function getConfirmText();
/**
* Returns a caption for the link which cancels the action.
*
* @return string
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The form cancellation text.
*/
public function getCancelText();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment