You are here

public static function DateRecurItem::defaultStorageSettings in Recurring Dates Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::defaultStorageSettings()
  2. 3.x src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::defaultStorageSettings()
  3. 3.0.x src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::defaultStorageSettings()
  4. 3.1.x src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::defaultStorageSettings()

Defines the storage-level settings for this plugin.

Return value

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

Overrides DateTimeItem::defaultStorageSettings

File

src/Plugin/Field/FieldType/DateRecurItem.php, line 90

Class

DateRecurItem
Plugin implementation of the 'date_recur' field type.

Namespace

Drupal\date_recur\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'occurrence_handler_plugin' => 'date_recur_occurrence_handler',
  ] + parent::defaultStorageSettings();
}