Commit f16783ad authored by xjm's avatar xjm
Browse files

Issue #2862308 by Yogesh Pawar, joelpittet, amateescu: Log a message when...

Issue #2862308 by Yogesh Pawar, joelpittet, amateescu: Log a message when skipping deleted fields during field_purge_batch()
parent 5951ea0d
......@@ -90,6 +90,7 @@ function field_purge_batch($batch_size, $field_storage_uuid = NULL) {
// providing module was uninstalled).
// @todo Revisit after https://www.drupal.org/node/2080823.
if (!isset($info[$entity_type])) {
\Drupal::logger('field')->warning("Cannot remove field @field_name because the entity type is unknown: %entity_type", ['@field_name' => $field->getName(), '%entity_type' => $entity_type]);
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment