Verified Commit f0188fb3 authored by Dave Long's avatar Dave Long
Browse files

Issue #3361730 by Berdir, longwave, DamienMcKenna, borisson_, catch: Rename...

Issue #3361730 by Berdir, longwave, DamienMcKenna, borisson_, catch: Rename EntityListBuilder::getQuery() to something less generic
parent 0816a048
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public function load() {
   *   An array of entity IDs.
   */
  protected function getEntityIds() {
    return $this->getQuery()->execute();
    return $this->getEntityListQuery()->execute();
  }

  /**
@@ -104,7 +104,7 @@ protected function getEntityIds() {
   * @return \Drupal\Core\Entity\Query\QueryInterface
   *   A query object used to load entity IDs.
   */
  protected function getQuery(): QueryInterface {
  protected function getEntityListQuery(): QueryInterface {
    $query = $this->getStorage()->getQuery()
      ->accessCheck(TRUE)
      ->sort($this->entityType->getKey('id'));