diff --git a/core/modules/field/src/FieldUninstallValidator.php b/core/modules/field/src/FieldUninstallValidator.php index 8b27ae3..51f8640 100644 --- a/core/modules/field/src/FieldUninstallValidator.php +++ b/core/modules/field/src/FieldUninstallValidator.php @@ -47,7 +47,7 @@ public function validate($module) { // remains no actual, non-deleted fields) $non_deleted = FALSE; foreach ($field_storages as $field_storage) { - if (empty($field_storage->deleted)) { + if (!$field_storage->isDeleted()) { $non_deleted = TRUE; break; }