Skip to content
Snippets Groups Projects
Commit bd5e0335 authored by Oleksandr Kuzava's avatar Oleksandr Kuzava
Browse files

Issue #3279202 Refactor hook_help().

parent 78f9347f
No related merge requests found
......@@ -25,10 +25,10 @@ function single_content_sync_help($route_name, RouteMatchInterface $route_match)
foreach (array_keys($entity_types) as $entity_type_id) {
if ($route_name === "entity.{$entity_type_id}.single_content:export") {
$output .= '<p>' . t('Simply copy it and go to the import page on /admin/content/importof 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 the results as a single YAML file, in this case, files will be imported by the absolute URL (suitable if your files are hosted externally') . '</p>';
$output .= '<br><p>' . t('By using the generated file you can import content on deploy. Refer to the README for information on how to do this.') . '</p>';
$output .= '<p>' . t('Simply copy it and go to the import page on /admin/content/import 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 the results as a single YAML file, in this case, files will be imported by the absolute URL (suitable if your files are hosted externally') . '</p>';
$output .= '<br><p>' . t('By using the generated file you can import content on deploy. Refer to the README for information on how to do this.') . '</p>';
return $output;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment