You are here

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

Same name and namespace in other branches
  1. 8 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 146

Class

DateRecurItem
Plugin implementation of the 'date_recur' field type.

Namespace

Drupal\date_recur\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() : array {
  return [
    'rrule_max_length' => 256,
  ] + parent::defaultStorageSettings();
}