public function TestEntityMappingWebformHandler::defaultConfiguration in Webform 8.5
Same name and namespace in other branches
- 6.x 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 32
Class
- TestEntityMappingWebformHandler
- Webform submission entity mapping test handler.
Namespace
Drupal\webform_test_handler\Plugin\WebformHandlerCode
public function defaultConfiguration() {
return [
'entity_type' => 'node',
'bundle' => 'page',
'fields' => [],
];
}