You are here

public function MaestroWebformHandler::defaultConfiguration in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 modules/maestro_webform/src/Plugin/WebformHandler/MaestroWebformHandler.php \Drupal\maestro_webform\Plugin\WebformHandler\MaestroWebformHandler::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformHandlerBase::defaultConfiguration

File

modules/maestro_webform/src/Plugin/WebformHandler/MaestroWebformHandler.php, line 119

Class

MaestroWebformHandler
Launches a Maestro workflow with a Webform submission.

Namespace

Drupal\maestro_webform\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return [
    'maestro_template' => '',
    'maestro_message_success' => '',
    'maestro_message_failure' => '',
  ];
}