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