You are here

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

Class

TextWithSummaryFieldBuilder
Plugin to diff text with summary fields.

Namespace

Drupal\diff\Plugin\diff\Field

Code

public function defaultConfiguration() {
  $default_configuration = array(
    'compare_format' => 0,
    'compare_summary' => 0,
  );
  $default_configuration += parent::defaultConfiguration();
  return $default_configuration;
}