Skip to content
Snippets Groups Projects
Verified Commit 46cf264b authored by Dave Long's avatar Dave Long
Browse files

Issue #3487014 by liam morland, nod_, smustgrave, quietone: Fix documentation...

Issue #3487014 by liam morland, nod_, smustgrave, quietone: Fix documentation for optional params in MessengerInterface

(cherry picked from commit 4899db93)
parent 766f3263
No related branches found
No related tags found
5 merge requests!12802Issue #3537193 by opauwlo: Add enable absolute path option for CKEditor5 image uploads,!12684Issue #3220784,!12523Issue #3493858 by vidorado, xavier.masson, smustgrave: Extend ViewsBlockBase...,!122353526426-warning-for-missing,!8559#3450868 Add ViewsConfigUpdater deprecation support for default_argument_skip_url
Pipeline #436503 passed
...@@ -30,9 +30,9 @@ interface MessengerInterface { ...@@ -30,9 +30,9 @@ interface MessengerInterface {
* The messages will be displayed in the order they got added later. * The messages will be displayed in the order they got added later.
* *
* @param string|\Drupal\Component\Render\MarkupInterface $message * @param string|\Drupal\Component\Render\MarkupInterface $message
* (optional) The translated message to be displayed to the user. For * The translated message to be displayed to the user. For consistency with
* consistency with other messages, it should begin with a capital letter * other messages, it should begin with a capital letter and end with a
* and end with a period. * period.
* @param string $type * @param string $type
* (optional) The message's type. Either self::TYPE_STATUS, * (optional) The message's type. Either self::TYPE_STATUS,
* self::TYPE_WARNING, or self::TYPE_ERROR. * self::TYPE_WARNING, or self::TYPE_ERROR.
...@@ -48,9 +48,9 @@ public function addMessage($message, $type = self::TYPE_STATUS, $repeat = FALSE) ...@@ -48,9 +48,9 @@ public function addMessage($message, $type = self::TYPE_STATUS, $repeat = FALSE)
* Adds a new status message to the queue. * Adds a new status message to the queue.
* *
* @param string|\Drupal\Component\Render\MarkupInterface $message * @param string|\Drupal\Component\Render\MarkupInterface $message
* (optional) The translated message to be displayed to the user. For * The translated message to be displayed to the user. For consistency with
* consistency with other messages, it should begin with a capital letter * other messages, it should begin with a capital letter and end with a
* and end with a period. * period.
* @param bool $repeat * @param bool $repeat
* (optional) If this is FALSE and the message is already set, then the * (optional) If this is FALSE and the message is already set, then the
* message won't be repeated. Defaults to FALSE. * message won't be repeated. Defaults to FALSE.
...@@ -63,9 +63,9 @@ public function addStatus($message, $repeat = FALSE); ...@@ -63,9 +63,9 @@ public function addStatus($message, $repeat = FALSE);
* Adds a new error message to the queue. * Adds a new error message to the queue.
* *
* @param string|\Drupal\Component\Render\MarkupInterface $message * @param string|\Drupal\Component\Render\MarkupInterface $message
* (optional) The translated message to be displayed to the user. For * The translated message to be displayed to the user. For consistency with
* consistency with other messages, it should begin with a capital letter * other messages, it should begin with a capital letter and end with a
* and end with a period. * period.
* @param bool $repeat * @param bool $repeat
* (optional) If this is FALSE and the message is already set, then the * (optional) If this is FALSE and the message is already set, then the
* message won't be repeated. Defaults to FALSE. * message won't be repeated. Defaults to FALSE.
...@@ -78,9 +78,9 @@ public function addError($message, $repeat = FALSE); ...@@ -78,9 +78,9 @@ public function addError($message, $repeat = FALSE);
* Adds a new warning message to the queue. * Adds a new warning message to the queue.
* *
* @param string|\Drupal\Component\Render\MarkupInterface $message * @param string|\Drupal\Component\Render\MarkupInterface $message
* (optional) The translated message to be displayed to the user. For * The translated message to be displayed to the user. For consistency with
* consistency with other messages, it should begin with a capital letter * other messages, it should begin with a capital letter and end with a
* and end with a period. * period.
* @param bool $repeat * @param bool $repeat
* (optional) If this is FALSE and the message is already set, then the * (optional) If this is FALSE and the message is already set, then the
* message won't be repeated. Defaults to FALSE. * message won't be repeated. Defaults to FALSE.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment