public function TermSelection::defaultConfiguration in Taxonomy container 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides TermSelection::defaultConfiguration
File
- src/
Plugin/ EntityReferenceSelection/ TermSelection.php, line 24
Class
- TermSelection
- Taxonomy container implementation of the entity reference selection plugin.
Namespace
Drupal\taxonomy_container\Plugin\EntityReferenceSelectionCode
public function defaultConfiguration() {
return [
'prefix' => '-',
] + parent::defaultConfiguration();
}