We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f60be0 + 4b96762 commit 345772cCopy full SHA for 345772c
1 file changed
src/FieldDefinition/Service/LocalizedFieldService.php
@@ -25,7 +25,7 @@ final class LocalizedFieldService implements LocalizedFieldServiceInterface
25
{
26
public function getFieldDefinition(Localizedfields $localizedfields, string $key): Data
27
28
- $item = array_filter($localizedfields->getChildren(), function (Data $field) use ($key) {
+ $item = array_filter($localizedfields->getFieldDefinitions(), function (Data $field) use ($key) {
29
return $field->getName() === $key;
30
});
31
$item = reset($item);
0 commit comments