diff --git a/core/lib/Drupal/Core/Entity/EntityListBuilder.php b/core/lib/Drupal/Core/Entity/EntityListBuilder.php
index b9c8db3..2751769 100644
--- a/core/lib/Drupal/Core/Entity/EntityListBuilder.php
+++ b/core/lib/Drupal/Core/Entity/EntityListBuilder.php
@@ -250,4 +250,13 @@ protected function getTitle() {
     return;
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  public function setLimit($limit) {
+    assert('is_int($limit) || $limit === FALSE', 'The limit must be an integer or FALSE.');
+    $this->limit = $limit;
+    return $this;
+  }
+
 }
diff --git a/core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php b/core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php
index 924772d..e9a7e8d 100644
--- a/core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php
+++ b/core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php
@@ -49,4 +49,14 @@ public function getOperations(EntityInterface $entity);
    */
   public function render();
 
+  /**
+   * Sets the number of entities to list per page.
+   *
+   * @param int|false $limit
+   *   The number of entities to list per page, or FALSE to list all entities.
+   *
+   * @return $this
+   */
+  public function setLimit($limit);
+
 }
