Skip to content
Snippets Groups Projects
Commit 5158f6f6 authored by Joseph Olstad's avatar Joseph Olstad
Browse files

Issue #2107455 by kksandr - Base fields can also have default images, for...

Issue #2107455 by kksandr - Base fields can also have default images, for example they can be easily defined using the core.base_field_override.*.* configuration, so it is better to use entity_field.manager here.
parent cdfdc3a0
No related branches found
No related tags found
2 merge requests!9428Issue #2107455 by mparker17, ravi.shankar, yogeshmpawar, pooja saraah,...,!1105Issue #3025039: New non translatable field on translatable content throws error
......@@ -86,7 +86,7 @@ public function getDefaultImageFields(): array {
// configuration IDs for quick lookup.
$defaults = [];
$fields = $this->entityTypeManager
->getStorage('field_config')
->getStorage('entity_field.manager')
->loadMultiple();
foreach ($fields as $field) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment