public function EntityReferenceFieldBuilder::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/ EntityReferenceFieldBuilder.php, line 80
Class
- EntityReferenceFieldBuilder
- Plugin to diff entity reference fields.
Namespace
Drupal\diff\Plugin\diff\FieldCode
public function defaultConfiguration() {
$default_configuration = array(
'compare_entity_reference' => COMPARE_ENTITY_REFERENCE_LABEL,
);
$default_configuration += parent::defaultConfiguration();
return $default_configuration;
}