Issue #2862308 by Yogesh Pawar, joelpittet, amateescu: Log a message when skipping deleted fields during field_purge_batch()
parent
5951ea0d1b
commit
f16783ad59
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue