Loading src/CommentDeleteManager.php +2 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ namespace Drupal\comment_delete; use Drupal\comment\CommentInterface; use Drupal\Component\Render\FormattableMarkup; use Drupal\Component\Utility\Xss; use Drupal\Core\Database\Connection; use Drupal\Core\Entity\EntityFieldManagerInterface; Loading Loading @@ -126,7 +127,7 @@ class CommentDeleteManager implements CommentDeleteManagerInterface { } if (trim($this->config['message'][$op])) { $this->messenger->addStatus(Xss::filterAdmin($this->config['message'][$op])); $this->messenger->addStatus(new FormattableMarkup(Xss::filterAdmin($this->config['message'][$op]), [])); } } Loading Loading
src/CommentDeleteManager.php +2 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ namespace Drupal\comment_delete; use Drupal\comment\CommentInterface; use Drupal\Component\Render\FormattableMarkup; use Drupal\Component\Utility\Xss; use Drupal\Core\Database\Connection; use Drupal\Core\Entity\EntityFieldManagerInterface; Loading Loading @@ -126,7 +127,7 @@ class CommentDeleteManager implements CommentDeleteManagerInterface { } if (trim($this->config['message'][$op])) { $this->messenger->addStatus(Xss::filterAdmin($this->config['message'][$op])); $this->messenger->addStatus(new FormattableMarkup(Xss::filterAdmin($this->config['message'][$op]), [])); } } Loading