public static function SocialLinkItem::defaultFieldSettings in Social Link Field 8
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ SocialLinkItem.php, line 94
Class
- SocialLinkItem
- Defines the 'social_links' entity field type.
Namespace
Drupal\social_link_field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'platforms' => [],
] + parent::defaultFieldSettings();
}