core/modules/rest/src/Entity/ConfigDependencies.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/rest/src/Entity/ConfigDependencies.php b/core/modules/rest/src/Entity/ConfigDependencies.php index 6293e27..5e46fe1 100644 --- a/core/modules/rest/src/Entity/ConfigDependencies.php +++ b/core/modules/rest/src/Entity/ConfigDependencies.php @@ -227,14 +227,14 @@ public function onDependencyRemovalForResourceGranularity(RestResourceConfigInte foreach ($dependencies['module'] as $dep_module) { // Check if the removed dependency module contained an authentication // provider. - foreach ($this->availableRestAuthentications as $auth => $auth_module) { + foreach ($this->authProviders as $auth => $auth_module) { if ($dep_module != $auth_module) { continue; } $removed_auth[] = $auth; } // Check if the removed dependency module contained a format. - foreach ($this->availableRestFormats as $format => $format_module) { + foreach ($this->formatProviders as $format => $format_module) { if ($dep_module != $format_module) { continue; }