You are here

function webform_devel_webform_help_info in Webform 6.x

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

Implements hook_webform_help_info().

File

modules/webform_devel/webform_devel.module, line 15
Provides development tools Webform module.

Code

function webform_devel_webform_help_info() {
  $help = [];
  $help['webform_devel_schema'] = [
    'group' => 'development',
    'title' => t('Devel: Webform Schema'),
    'content' => t("The <strong>Schema</strong> page displays an overview of a webform's elements and specified data types, which can be used to map webform submissions to an external API."),
    'video_id' => 'development',
    'routes' => [
      // @see /admin/structure/webform/manage/{webform}/schema
      'entity.webform.schema_form',
    ],
  ];
  $help['webform_devel_form_api_export'] = [
    'group' => 'forms',
    'title' => t('Form API Export'),
    'content' => t("The <strong>Form API export</strong> page demonstrates how a webform's elements may be used to create custom configuration forms."),
    'routes' => [
      // @see /admin/structure/webform/manage/{webform}/fapi
      'entity.webform.fapi_export_form',
    ],
  ];
  return $help;
}