public function CommentFieldBuilder::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/ CommentFieldBuilder.php, line 94
Class
- CommentFieldBuilder
- Plugin to diff comment fields.
Namespace
Drupal\diff\Plugin\diff\FieldCode
public function defaultConfiguration() {
$default_configuration = array(
'compare_key' => 0,
'compare_string' => 1,
);
$default_configuration += parent::defaultConfiguration();
return $default_configuration;
}