You are here

function webform_submission_export_import_webform_help_info in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_submission_export_import/webform_submission_export_import.module \webform_submission_export_import_webform_help_info()

Implements hook_webform_help_info().

File

modules/webform_submission_export_import/webform_submission_export_import.module, line 15
Provides the ability to export and import submissions.

Code

function webform_submission_export_import_webform_help_info() {
  $help = [];
  $help['webform_submission_export_import'] = [
    'group' => 'forms',
    'title' => t('Upload'),
    'content' => t('The <strong>Upload</strong> page allows a CSV (comma separated values) file or URL to be uploaded, converted, and imported into webform submissions.'),
    'video_id' => 'import',
    'routes' => [
      // @see /admin/structure/webform/manage/{webform}/results/upload
      'entity.webform_submission_export_import.results_import',
      // @see /node/{node}/webform/results/upload
      'entity.node.webform_submission_export_import.results_import',
    ],
  ];
  return $help;
}