You are here

public function TestEntityMappingWebformHandler::defaultConfiguration in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestEntityMappingWebformHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestEntityMappingWebformHandler::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformHandlerBase::defaultConfiguration

File

tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestEntityMappingWebformHandler.php, line 57

Class

TestEntityMappingWebformHandler
Webform submission entity mapping test handler.

Namespace

Drupal\webform_test_handler\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return [
    'entity_type' => 'node',
    'bundle' => 'page',
    'fields' => [],
  ];
}