Feature::
triggerDeprecationOrThrow( 'v6.6.0.0',
Feature::
deprecatedMethodMessage(self::
class, __METHOD__, 'v6.6.0.0', '\Shopware\Core\Framework\App\Flow\Action\Xml\Metadata'
) );
$data = parent::
toArray($defaultLocale);
foreach (self::TRANSLATABLE_FIELDS
as $TRANSLATABLE_FIELD) { $translatableField = self::
kebabCaseToCamelCase($TRANSLATABLE_FIELD);
$data[$translatableField] =
$this->
ensureTranslationForDefaultLanguageExist( $data[$translatableField],
$defaultLocale );
} return $data;
} /**
* @return array<mixed>
*/