You are here

protected function WebformHelpManager::initGroups in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformHelpManager.php \Drupal\webform\WebformHelpManager::initGroups()

Initialize group.

Return value

array An associative array containing groups.

1 call to WebformHelpManager::initGroups()
WebformHelpManager::__construct in src/WebformHelpManager.php
Constructs a WebformHelpManager object.

File

src/WebformHelpManager.php, line 805

Class

WebformHelpManager
Webform help manager.

Namespace

Drupal\webform

Code

protected function initGroups() {
  return [
    'general' => $this
      ->t('General'),
    'introduction' => $this
      ->t('Introduction'),
    'about' => $this
      ->t('About'),
    'installation' => $this
      ->t('Installation'),
    'forms' => $this
      ->t('Forms'),
    'elements' => $this
      ->t('Elements'),
    'handlers' => $this
      ->t('Handlers'),
    'settings' => $this
      ->t('Settings'),
    'submissions' => $this
      ->t('Submissions'),
    'submission' => $this
      ->t('Submission'),
    'configuration' => $this
      ->t('Configuration'),
    'plugins' => $this
      ->t('Plugins'),
    'addons' => $this
      ->t('Add-ons'),
    'webform_nodes' => $this
      ->t('Webform Nodes'),
    'webform_blocks' => $this
      ->t('Webform Blocks'),
    'translations' => $this
      ->t('Translations'),
    'development' => $this
      ->t('Development'),
    'messages' => $this
      ->t('Messages'),
    'promotions' => $this
      ->t('Promotions'),
  ];
}