public function Rewrite::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/ Rewrite.php, line 26
Class
- Rewrite
- Plugin implementation for rewriting a value.
Namespace
Drupal\tamper\Plugin\TamperCode
public function defaultConfiguration() {
$config = parent::defaultConfiguration();
$config[self::SETTING_TEXT] = '';
return $config;
}