diff --git a/core/modules/page/lib/Drupal/page/PageListController.php b/core/modules/page/lib/Drupal/page/PageListController.php index 4c8f4fc..e9b3dde 100644 --- a/core/modules/page/lib/Drupal/page/PageListController.php +++ b/core/modules/page/lib/Drupal/page/PageListController.php @@ -9,6 +9,7 @@ use Drupal\Core\Entity\EntityListController; use Drupal\Core\Entity\EntityInterface; +use Drupal\Core\Entity\EntityStorageControllerInterface; /** * Provides a listing of pages. diff --git a/core/modules/page/page.module b/core/modules/page/page.module index c49e0ee..81db1cf 100644 --- a/core/modules/page/page.module +++ b/core/modules/page/page.module @@ -110,7 +110,7 @@ function page_entity_info() { 'form controller class' => array( 'default' => 'Drupal\page\PageFormController', ), - 'list controller class' => 'Drupal\Core\Config\Entity\ConfigEntityListController', + 'list controller class' => 'Drupal\page\PageListController', 'list path' => 'admin/structure/pages', 'uri callback' => 'page_uri', 'config prefix' => 'page',