You are here

function demo_help in Demonstration site (Sandbox / Snapshot) 8

Implements hook_help().

File

./demo.module, line 982

Code

function demo_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.demo':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('demonstration site module help to create snapshots of your drupal site. This will save the current version of your site and you can restore to this version later. ') . '</p>';
      $output .= '<h3>' . t('Two Options of taking snapshots :-') . '</h3>';
      $output .= '<p>' . t('<b>(1) Database Snapshots</b> Takes the snapshot of the whole database.All files will get stored in the private directory. On resetting, All the configuration settings and nodes will get restore.') . '</p>';
      $output .= '<p>' . t('<b>(2) Configuration Snapshots</b> Takes the snapshot only of the configuration settings of your drupal site. All files will get stored in the private directory.On resetting the drupal site, this will only configuration setting will be restored. Nodes will remain as it is.') . '</p>';
      return $output;
  }
}