You are here

public static function SocialPrivateMessageMemberFormatter::defaultSettings in Open Social 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

modules/social_features/social_private_message/src/Plugin/Field/Fieldformatter/SocialPrivateMessageMemberFormatter.php, line 120

Class

SocialPrivateMessageMemberFormatter
Class SocialPrivateMessageMemberFormatter.

Namespace

Drupal\social_private_message\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'display_type' => 'label',
    'entity_display_mode' => 'private_message_author',
  ] + parent::defaultSettings();
}