Commit 7151900f authored by alexpott's avatar alexpott

Issue #2985907 by pasan.gamage, acbramley, dawehner, alexpott, DYdave: Add...

Issue #2985907 by pasan.gamage, acbramley, dawehner, alexpott, DYdave: Add entity type into error description
parent a9f1973c
......@@ -375,9 +375,13 @@ function views_field_default_views_data(FieldStorageConfigInterface $field_stora
else {
// https://www.drupal.org/node/2451657#comment-11462881
\Drupal::logger('views')->error(
t('A non-existent config entity name returned by FieldStorageConfigInterface::getBundles(): field name: %field, bundle: %bundle',
['%field' => $field_name, '%bundle' => $bundle]
));
'A non-existent config entity name returned by FieldStorageConfigInterface::getBundles(): entity type: %entity_type, bundle: %bundle, field name: %field',
[
'%entity_type' => $entity_type->id(),
'%bundle' => $bundle,
'%field' => $field_name,
]
);
}
}
......
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