@@ -30,9 +30,9 @@ interface MessengerInterface {
30
30
* The messages will be displayed in the order they got added later.
31
31
*
32
32
* @param string|\Drupal\Component\Render\MarkupInterface $message
33
- * (optional) The translated message to be displayed to the user. For
34
- * consistency with other messages, it should begin with a capital letter
35
- * and end with a period.
33
+ * The translated message to be displayed to the user. For consistency with
34
+ * other messages, it should begin with a capital letter and end with a
35
+ * period.
36
36
* @param string $type
37
37
* (optional) The message's type. Either self::TYPE_STATUS,
38
38
* self::TYPE_WARNING, or self::TYPE_ERROR.
@@ -48,9 +48,9 @@ public function addMessage($message, $type = self::TYPE_STATUS, $repeat = FALSE)
48
48
* Adds a new status message to the queue.
49
49
*
50
50
* @param string|\Drupal\Component\Render\MarkupInterface $message
51
- * (optional) The translated message to be displayed to the user. For
52
- * consistency with other messages, it should begin with a capital letter
53
- * and end with a period.
51
+ * The translated message to be displayed to the user. For consistency with
52
+ * other messages, it should begin with a capital letter and end with a
53
+ * period.
54
54
* @param bool $repeat
55
55
* (optional) If this is FALSE and the message is already set, then the
56
56
* message won't be repeated. Defaults to FALSE.
@@ -63,9 +63,9 @@ public function addStatus($message, $repeat = FALSE);
63
63
* Adds a new error message to the queue.
64
64
*
65
65
* @param string|\Drupal\Component\Render\MarkupInterface $message
66
- * (optional) The translated message to be displayed to the user. For
67
- * consistency with other messages, it should begin with a capital letter
68
- * and end with a period.
66
+ * The translated message to be displayed to the user. For consistency with
67
+ * other messages, it should begin with a capital letter and end with a
68
+ * period.
69
69
* @param bool $repeat
70
70
* (optional) If this is FALSE and the message is already set, then the
71
71
* message won't be repeated. Defaults to FALSE.
@@ -78,9 +78,9 @@ public function addError($message, $repeat = FALSE);
78
78
* Adds a new warning message to the queue.
79
79
*
80
80
* @param string|\Drupal\Component\Render\MarkupInterface $message
81
- * (optional) The translated message to be displayed to the user. For
82
- * consistency with other messages, it should begin with a capital letter
83
- * and end with a period.
81
+ * The translated message to be displayed to the user. For consistency with
82
+ * other messages, it should begin with a capital letter and end with a
83
+ * period.
84
84
* @param bool $repeat
85
85
* (optional) If this is FALSE and the message is already set, then the
86
86
* message won't be repeated. Defaults to FALSE.
0 commit comments