Unverified Commit 8a96202f authored by alexpott's avatar alexpott

Issue #2998769 by kiamlaluno, quietone, kkalaskar: @see directive used in the...

Issue #2998769 by kiamlaluno, quietone, kkalaskar: @see directive used in the wrong place outputs the wrong HTML markup

(cherry picked from commit 6d98f6bf)
parent 12dbf59a
...@@ -12,10 +12,9 @@ interface LogMessageParserInterface { ...@@ -12,10 +12,9 @@ interface LogMessageParserInterface {
* *
* For a value to be considered as a placeholder should be in the following * For a value to be considered as a placeholder should be in the following
* formats: * formats:
* - PSR3 format: * - @link https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message The PSR3 format @endlink
* @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message * - The Drupal specific string placeholder format, described in
* - Drupal specific string placeholder format: * \Drupal\Component\Render\FormattableMarkup
* @see \Drupal\Component\Render\FormattableMarkup
* *
* Values in PSR3 format will be transformed to * Values in PSR3 format will be transformed to
* \Drupal\Component\Render\FormattableMarkup format. * \Drupal\Component\Render\FormattableMarkup format.
...@@ -29,6 +28,8 @@ interface LogMessageParserInterface { ...@@ -29,6 +28,8 @@ interface LogMessageParserInterface {
* *
* @return array * @return array
* An array of the extracted message placeholders. * An array of the extracted message placeholders.
*
* @see \Drupal\Component\Render\FormattableMarkup
*/ */
public function parseMessagePlaceholders(&$message, array &$context); public function parseMessagePlaceholders(&$message, array &$context);
......
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