diff --git a/core/lib/Drupal/Core/Access/AccessResult.php b/core/lib/Drupal/Core/Access/AccessResult.php index 3ad21e9..cab5e1a 100644 --- a/core/lib/Drupal/Core/Access/AccessResult.php +++ b/core/lib/Drupal/Core/Access/AccessResult.php @@ -339,7 +339,7 @@ public function cacheUntilEntityChanges(EntityInterface $entity) { * this::addCacheableDependency() instead. */ public function cacheUntilConfigurationChanges(ConfigBase $configuration) { - return $this->addCacheableDependency($entity); + return $this->addCacheableDependency($configuration); } /**