public function TextFieldBuilder::defaultConfiguration in Diff 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides FieldDiffBuilderBase::defaultConfiguration
File
- src/
Plugin/ diff/ Field/ TextFieldBuilder.php, line 94
Class
- TextFieldBuilder
- Plugin to diff text fields.
Namespace
Drupal\diff\Plugin\diff\FieldCode
public function defaultConfiguration() {
$default_configuration = array(
'compare_format' => 0,
);
$default_configuration += parent::defaultConfiguration();
return $default_configuration;
}