diff --git a/core/lib/Drupal/Core/Entity/EntityStorageBase.php b/core/lib/Drupal/Core/Entity/EntityStorageBase.php index 6f3751d..4333c47 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageBase.php @@ -462,7 +462,7 @@ public function loadByProperties(array $values = array()) { public function getQuery($conjunction = 'AND') { // Access the service directly rather than entity.query factory so the // storage's current entity type is used. - return \Drupal::service($this->getQueryServicename())->get($this->entityType, $conjunction); + return \Drupal::service($this->getQueryServiceName())->get($this->entityType, $conjunction); } /** @@ -471,7 +471,7 @@ public function getQuery($conjunction = 'AND') { public function getAggregateQuery($conjunction = 'AND') { // Access the service directly rather than entity.query factory so the // storage's current entity type is used. - return \Drupal::service($this->getQueryServicename())->getAggregate($this->entityType, $conjunction); + return \Drupal::service($this->getQueryServiceName())->getAggregate($this->entityType, $conjunction); } /**