Unverified Commit a25282be authored by alexpott's avatar alexpott

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

(cherry picked from commit 00d864da)
parent 9d30c1a7
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment