public function NameFieldBuilder::defaultConfiguration in Name Field 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/ NameFieldBuilder.php, line 118
Class
- NameFieldBuilder
- Plugin to diff text fields.
Namespace
Drupal\name\Plugin\diff\FieldCode
public function defaultConfiguration() {
$default_configuration = [
'format' => '',
];
$default_configuration += parent::defaultConfiguration();
return $default_configuration;
}