public function Copy::defaultConfiguration in Tamper 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides TamperBase::defaultConfiguration
File
- src/
Plugin/ Tamper/ Copy.php, line 27
Class
- Copy
- Plugin implementation of the copy plugin.
Namespace
Drupal\tamper\Plugin\TamperCode
public function defaultConfiguration() {
$config = parent::defaultConfiguration();
$config[self::SETTING_TO_FROM] = 'to';
$config[self::SETTING_SOURCE] = NULL;
return $config;
}