diff --git a/core/lib/Drupal/Core/Entity/EntityListController.php b/core/lib/Drupal/Core/Entity/EntityListController.php
index 508db1cf1bf426051052eb93297b3826b411a6b4..1fdb4ba056c1a098c0678a9b70eccbc43323b26b 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;