public static function ContributorLabelFormatter::defaultSettings in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Plugin/Field/FieldFormatter/ContributorLabelFormatter.php \Drupal\bibcite_entity\Plugin\Field\FieldFormatter\ContributorLabelFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceLabelFormatter::defaultSettings
File
- modules/
bibcite_entity/ src/ Plugin/ Field/ FieldFormatter/ ContributorLabelFormatter.php, line 86
Class
- ContributorLabelFormatter
- Plugin implementation of the 'entity reference label' formatter.
Namespace
Drupal\bibcite_entity\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'role' => FALSE,
'category' => FALSE,
] + parent::defaultSettings();
}