You are here

public function FieldTypePluginManagerInterface::getDefaultStorageSettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getDefaultStorageSettings()

Returns the default storage-level settings for a field type.

Parameters

string $type: A field type name.

Return value

array The type's default settings, as provided by the plugin definition, or an empty array if type or settings are undefined.

1 method overrides FieldTypePluginManagerInterface::getDefaultStorageSettings()
FieldTypePluginManager::getDefaultStorageSettings in core/lib/Drupal/Core/Field/FieldTypePluginManager.php
Returns the default storage-level settings for a field type.

File

core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php, line 77

Class

FieldTypePluginManagerInterface
Defines an interface for the field type plugin manager.

Namespace

Drupal\Core\Field

Code

public function getDefaultStorageSettings($type);