You are here

public static function CommentItem::defaultStorageSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php \Drupal\comment\Plugin\Field\FieldType\CommentItem::defaultStorageSettings()

Defines the storage-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultStorageSettings

File

core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php, line 39
Contains \Drupal\comment\Plugin\Field\FieldType\CommentItem.

Class

CommentItem
Plugin implementation of the 'comment' field type.

Namespace

Drupal\comment\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return array(
    'comment_type' => '',
  ) + parent::defaultStorageSettings();
}