You are here

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

Class

Explode
Plugin implementation of the explode plugin.

Namespace

Drupal\tamper\Plugin\Tamper

Code

public function defaultConfiguration() {
  $config = parent::defaultConfiguration();
  $config[self::SETTING_SEPARATOR] = ',';
  $config[self::SETTING_LIMIT] = '';
  return $config;
}