public function FileFieldBuilder::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/ FileFieldBuilder.php, line 137
Class
- FileFieldBuilder
- Plugin to diff file fields.
Namespace
Drupal\diff\Plugin\diff\FieldCode
public function defaultConfiguration() {
$default_configuration = array(
'show_id' => 1,
'compare_description_field' => 0,
'compare_display_field' => 0,
'property_separator' => 'nl',
);
$default_configuration += parent::defaultConfiguration();
return $default_configuration;
}