Skip to content
Snippets Groups Projects

Deprecated code removed and updated with new.

2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -247,7 +247,7 @@ class ContentEntityNormalizer extends NormalizerBase implements DenormalizerInte
$translations = [];
foreach ($data as $key => $translation) {
// Skip any keys that start with '_' or '@'.
if (in_array($key{0}, ['_', '@'])) {
if (in_array($key[0], ['_', '@'])) {
continue;
}
// When language is configured, undefined or not applicable go ahead with
Loading