From fdb36c43ab5158e30199481333ba62a574e57a50 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 11 Jul 2024 11:36:21 +0100
Subject: [PATCH] Issue #3452502 by Grimreaper, smustgrave: NodeListBuilder is
 using mark theme wrongly

(cherry picked from commit 32a59501a983244caf169f29ab1ca2f23a3645d7)
---
 core/modules/node/src/NodeListBuilder.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/node/src/NodeListBuilder.php b/core/modules/node/src/NodeListBuilder.php
index ca8d12243e2a..703b93fc5ecf 100644
--- a/core/modules/node/src/NodeListBuilder.php
+++ b/core/modules/node/src/NodeListBuilder.php
@@ -92,7 +92,7 @@ public function buildRow(EntityInterface $entity) {
     /** @var \Drupal\node\NodeInterface $entity */
     $mark = [
       '#theme' => 'mark',
-      '#mark_type' => node_mark($entity->id(), $entity->getChangedTime()),
+      '#status' => node_mark($entity->id(), $entity->getChangedTime()),
     ];
     $row['title']['data'] = [
       '#type' => 'link',
-- 
GitLab