Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Logger/LogMessageParserInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Logger/LogMessageParserInterface.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/lib/Drupal/Core/Logger/LogMessageParserInterface.php Thu Feb 28 13:21:36 2019 +0000 @@ -12,22 +12,24 @@ * * For a value to be considered as a placeholder should be in the following * formats: - * - PSR3 format: - * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message - * - Drupal specific string placeholder format: - * @see \Drupal\Component\Utility\SafeMarkup::format() + * - @link https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message The PSR3 format @endlink + * - The Drupal specific string placeholder format, described in + * \Drupal\Component\Render\FormattableMarkup * - * Values in PSR3 format will be transformed to SafeMarkup::format() format. + * Values in PSR3 format will be transformed to + * \Drupal\Component\Render\FormattableMarkup format. * * @param string $message * The message that contains the placeholders. * If the message is in PSR3 style, it will be transformed to - * \Drupal\Component\Utility\SafeMarkup::format() style. + * \Drupal\Component\Render\FormattableMarkup style. * @param array $context * An array that may or may not contain placeholder variables. * * @return array * An array of the extracted message placeholders. + * + * @see \Drupal\Component\Render\FormattableMarkup */ public function parseMessagePlaceholders(&$message, array &$context);