public function FieldDiffBuilderBase::defaultConfiguration in Diff 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
10 calls to FieldDiffBuilderBase::defaultConfiguration()
- CommentFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ CommentFieldBuilder.php - Gets default configuration for this plugin.
- EntityReferenceFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ EntityReferenceFieldBuilder.php - Gets default configuration for this plugin.
- FieldDiffBuilderBase::setConfiguration in src/
FieldDiffBuilderBase.php - Sets the configuration for this plugin instance.
- FieldDiffBuilderBase::__construct in src/
FieldDiffBuilderBase.php - Constructs a FieldDiffBuilderBase object.
- FileFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ FileFieldBuilder.php - Gets default configuration for this plugin.
8 methods override FieldDiffBuilderBase::defaultConfiguration()
- CommentFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ CommentFieldBuilder.php - Gets default configuration for this plugin.
- EntityReferenceFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ EntityReferenceFieldBuilder.php - Gets default configuration for this plugin.
- FileFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ FileFieldBuilder.php - Gets default configuration for this plugin.
- ImageFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ ImageFieldBuilder.php - Gets default configuration for this plugin.
- LinkFieldBuilder::defaultConfiguration in src/
Plugin/ diff/ Field/ LinkFieldBuilder.php - Gets default configuration for this plugin.
File
- src/
FieldDiffBuilderBase.php, line 116
Class
- FieldDiffBuilderBase
- Base class for field diff builder plugins.
Namespace
Drupal\diffCode
public function defaultConfiguration() {
return array(
'show_header' => 1,
'markdown' => 'drupal_html_to_text',
);
}