You are here

public function FindReplace::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/FindReplace.php, line 31

Class

FindReplace
Plugin implementation of the find_replace plugin.

Namespace

Drupal\tamper\Plugin\Tamper

Code

public function defaultConfiguration() {
  $config = parent::defaultConfiguration();
  $config[self::SETTING_FIND] = '';
  $config[self::SETTING_REPLACE] = '';
  $config[self::SETTING_CASE_SENSITIVE] = FALSE;
  $config[self::SETTING_CASE_SENSITIVE] = FALSE;
  $config[self::SETTING_WHOLE] = FALSE;
  return $config;
}