diff -u b/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php b/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php --- b/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php +++ b/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php @@ -127,10 +127,9 @@ * @param string $filename * Filename to import. * - * @return array $keyed_content, $translated_languages + * @return array $keyed_content,$translated_languages * All multilingual content that was read from the files. * List of language codes that need to be imported. - * */ protected function readMultilingualContent($filename) { // Find all the language directories available for default content. @@ -417,7 +416,7 @@ // Fields mapping starts. // Set Body Field. if (!empty($data['body'])) { - $body_path = $module_path . '/default_content/languages/' . $langcode . '/article_body/' . $data['body']; + $body_path = $module_path . '/default_content/languages/' . $langcode . '/article_body/' . $data['body']; $body = file_get_contents($body_path); if ($body !== FALSE) { $values['body'] = [['value' => $body, 'format' => 'basic_html']]; @@ -802,2 +801,3 @@ } + }