You are here

protected function YamlFormAddonsManager::initProjects in YAML Form 8

Initialize add-on projects.

Return value

array An associative array containing add-on projects.

1 call to YamlFormAddonsManager::initProjects()
YamlFormAddonsManager::__construct in src/YamlFormAddonsManager.php
Constructs a YamlFormAddOnsManager object.

File

src/YamlFormAddonsManager.php, line 102

Class

YamlFormAddonsManager
Form add-ons manager.

Namespace

Drupal\yamlform

Code

protected function initProjects() {
  $projects = [];

  // Spam: CAPTCHA.
  $projects['captcha'] = [
    'title' => $this
      ->t('CAPTCHA'),
    'description' => $this
      ->t('Provides CAPTCHA for adding challenges to arbitrary forms.'),
    'url' => Url::fromUri('https://www.drupal.org/project/captcha'),
    'category' => 'spam',
  ];

  // Spam: Honeypot.
  $projects['honeypot'] = [
    'title' => $this
      ->t('Honeypot'),
    'description' => $this
      ->t('Mitigates spam form submissions using the honeypot method.'),
    'url' => Url::fromUri('https://www.drupal.org/project/honeypot'),
    'category' => 'spam',
    'third_party_settings' => TRUE,
  ];

  // Validation: Clientside Validation.
  $projects['clientside_validation'] = [
    'title' => $this
      ->t('Clientside Validation'),
    'description' => $this
      ->t('Adds clientside validation to forms.'),
    'url' => Url::fromUri('https://www.drupal.org/project/clientside_validation'),
    'category' => 'validation',
  ];

  // Validation: Validators.
  $projects['validators'] = [
    'title' => $this
      ->t('Validators'),
    'description' => $this
      ->t('Provides Symfony (form) Validators for Drupal 8.'),
    'url' => Url::fromUri('https://www.drupal.org/project/validators'),
    'category' => 'validation',
  ];

  // Integrations: MailChimp.
  $projects['mailchimp'] = [
    'title' => $this
      ->t('YAML Form MailChimp'),
    'description' => $this
      ->t('Posts form submissions to MailChimp list.'),
    'url' => Url::fromUri('https://www.drupal.org/project/yamlform_mailchimp'),
    'category' => 'integration',
  ];

  // Integrations: Webform Views Integration.
  $projects['webform_views'] = [
    'title' => $this
      ->t('Webform Views Integration'),
    'description' => $this
      ->t('Integrates Webforms 8.x-5.x and Views modules.'),
    'url' => Url::fromUri('https://www.drupal.org/node/2838128'),
    'category' => 'integration',
  ];

  // Handler: YAML Form Queue.
  $projects['yamlform_queue'] = [
    'title' => $this
      ->t('YAML Form Queue'),
    'description' => $this
      ->t('Posts form submissions into a Drupal queue.'),
    'url' => Url::fromUri('https://www.drupal.org/project/yamlform_queue'),
    'category' => 'handler',
  ];

  // Mail: Mail System.
  $projects['mailsystem'] = [
    'title' => $this
      ->t('Mail System'),
    'description' => $this
      ->t('Provides a user interface for per-module and site-wide mail system selection.'),
    'url' => Url::fromUri('https://www.drupal.org/project/mailsystem'),
    'category' => 'mail',
  ];

  // Mail: SMTP Authentication Support.
  $projects['smtp'] = [
    'title' => $this
      ->t('SMTP Authentication Support'),
    'description' => $this
      ->t('Allows for site emails to be sent through an SMTP server of your choice.'),
    'url' => Url::fromUri('https://www.drupal.org/project/smtp'),
    'category' => 'mail',
  ];

  // Migrate: Token.
  $projects['token'] = [
    'title' => $this
      ->t('Token'),
    'description' => $this
      ->t('Provides a user interface for the Token API and some missing core tokens.'),
    'url' => Url::fromUri('https://www.drupal.org/project/token'),
    'category' => 'utility',
  ];

  // Migrate: YAML Form Migrate.
  $projects['yamlform_migrate'] = [
    'title' => $this
      ->t('YAML Form Migrate'),
    'description' => $this
      ->t('Provides migration routines from Drupal 6 Webform module to Drupal 8 YAML Form module.'),
    'url' => Url::fromUri('https://www.drupal.org/sandbox/dippers/2819169'),
    'category' => 'migrate',
  ];

  // Config: Drush CMI tools.
  $projects['drush_cmi_tools'] = [
    'title' => $this
      ->t('Drush CMI tools'),
    'description' => $this
      ->t('Provides advanced CMI import and export functionality for CMI workflows. Drush CMI tools should be used to protect YAML Forms from being overwritten during a configuration import.'),
    'url' => Url::fromUri('https://github.com/previousnext/drush_cmi_tools'),
    'category' => 'config',
  ];

  // Configuration Split.
  $projects['config_split'] = [
    'title' => $this
      ->t('Configuration Split'),
    'description' => $this
      ->t('Provides configuration filter for importing and exporting split config.'),
    'url' => Url::fromUri('https://www.drupal.org/project/config_split'),
    'category' => 'config',
  ];
  return $projects;
}