public function LinkFieldBuilder::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/ LinkFieldBuilder.php, line 81
Class
- LinkFieldBuilder
- Plugin to compare the title and the uris of two link fields.
Namespace
Drupal\diff\Plugin\diff\FieldCode
public function defaultConfiguration() {
$default_configuration = array(
'compare_title' => 0,
'compare_uri' => 1,
);
$default_configuration += parent::defaultConfiguration();
return $default_configuration;
}