You are here

protected function YamlFormHelpManager::buildAbout in YAML Form 8

Build the about section.

Return value

array An render array containing the about section.

1 call to YamlFormHelpManager::buildAbout()
YamlFormHelpManager::buildIndex in src/YamlFormHelpManager.php
Build the main help page for the YAML Form module.

File

src/YamlFormHelpManager.php, line 214

Class

YamlFormHelpManager
Form help manager.

Namespace

Drupal\yamlform

Code

protected function buildAbout() {
  return [
    'title' => [
      '#markup' => $this
        ->t('About'),
      '#prefix' => '<h3 id="about">',
      '#suffix' => '</h3>',
    ],
    'content' => [
      '#markup' => '<p>' . $this
        ->t('The YAML Form module is a form builder and submission manager for Drupal 8.') . '</p>',
      '#prefix' => '<div>',
      '#suffix' => '</div>',
    ],
  ];
}