From a67e53713b46c75c402e2b08a7e8f113ba33f607 Mon Sep 17 00:00:00 2001
From: Dries <dries@buytaert.net>
Date: Fri, 5 Oct 2012 11:58:29 -0400
Subject: [PATCH] Issue #1802834 by tim.plunkett: Added Use #type => operations
 for EntityListController::buildOperations().

---
 core/lib/Drupal/Core/Entity/EntityListController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Core/Entity/EntityListController.php b/core/lib/Drupal/Core/Entity/EntityListController.php
index 508db1cf1bf4..1fdb4ba056c1 100644
--- a/core/lib/Drupal/Core/Entity/EntityListController.php
+++ b/core/lib/Drupal/Core/Entity/EntityListController.php
@@ -133,7 +133,7 @@ public function buildOperations(EntityInterface $entity) {
     $operations = $this->getOperations($entity);
     uasort($operations, 'drupal_sort_weight');
     $build = array(
-      '#theme' => 'links',
+      '#type' => 'operations',
       '#links' => $operations,
     );
     return $build;
-- 
GitLab