@@ -18,20 +18,19 @@ function single_content_sync_help($route_name, RouteMatchInterface $route_match)
/** @var \Drupal\node\NodeInterface $node */
$node=$route_match->getParameter('node');
$output='';
$output.='<p>'.t('Here is exported content of %title in %language.',[
$output.='<p>'.t('Here is the exported content of %title in %language.',[
'%title'=>$node->getTitle(),
'%language'=>$node->language()->getName(),
]).'</p>';
$output.='<p>'.t('Just copy it and go to import page of another environment to paste it, or use the action buttons below.').'</p>';
$output.='<br><p>'.t('You can download results as a zip file with all file references such as images, documents, videos and etc.').'</p>';
$output.='<p>'.t('You can also download results as a single YAML file, in this case files will be imported by the absolute URL (suitable if you use CDN for files)').'</p>';
$output.='<br><p>'.t('By using the file result you can import content on deploy. See README how to do it.').'</p>';
$output.='<p>'.t('Simply copy it and go to the import page of another environment to paste it, or use the action buttons below.').'</p>';
$output.='<br><p>'.t('You can download the results as a zip file with all file assets such as images, documents, videos and etc.').'</p>';
$output.='<p>'.t('You can also download results as a single YAML file, in this case files will be imported by the absolute URL (suitable if your files hosted externally)').'</p>';
$output.='<br><p>'.t('By using the generated file you can import content on deploy. See README how to do it.').'</p>';
return$output;
case'single_content_sync.import':
$output='';
$output.='<p>'.t('Paste the content that you just imported and click on the Import button.').'</p>';
$output.='<p>'.t('We check content by uuid, so existing content is updated, and new content is created.').'</p>';