public function WebformEntityHandler::defaultConfiguration in Webform Entity Handler 8
Same name and namespace in other branches
- 2.x src/Plugin/WebformHandler/WebformEntityHandler.php \Drupal\webform_entity_handler\Plugin\WebformHandler\WebformEntityHandler::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides WebformHandlerBase::defaultConfiguration
File
- src/
Plugin/ WebformHandler/ WebformEntityHandler.php, line 96
Class
- WebformEntityHandler
- Create or update an entity with a webform submission values.
Namespace
Drupal\webform_entity_handler\Plugin\WebformHandlerCode
public function defaultConfiguration() {
return [
'operation' => self::DEFAULT_VALUE,
'entity_type_id' => NULL,
'entity_values' => [],
'entity_revision' => FALSE,
'states' => [
WebformSubmissionInterface::STATE_COMPLETED,
],
];
}