From c8c33fbedd65c3656f6056f076c6ad257962189c Mon Sep 17 00:00:00 2001
From: xjm <xjm@65776.no-reply.drupal.org>
Date: Fri, 6 Jan 2023 12:35:02 -0600
Subject: [PATCH] Issue #3331438 by acbramley, mstrelan: Incorrect return type
 in LinkBase::getDefaultLabel()

(cherry picked from commit 8b49c009d13194ad6fc00f2a5be50e483b110674)
---
 core/modules/views/src/Plugin/views/field/LinkBase.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/views/src/Plugin/views/field/LinkBase.php b/core/modules/views/src/Plugin/views/field/LinkBase.php
index dfbf50c41bc9..ed8e0ca10b61 100644
--- a/core/modules/views/src/Plugin/views/field/LinkBase.php
+++ b/core/modules/views/src/Plugin/views/field/LinkBase.php
@@ -227,7 +227,7 @@ protected function addLangcode(ResultRow $row) {
   /**
    * Returns the default label for this link.
    *
-   * @return string
+   * @return \Drupal\Core\StringTranslation\TranslatableMarkup
    *   The default link label.
    */
   protected function getDefaultLabel() {
-- 
GitLab