function FieldTypePluginManagerInterface::getDefaultFieldSettings

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getDefaultFieldSettings()
  2. 10 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getDefaultFieldSettings()
  3. 11.x core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getDefaultFieldSettings()

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

Parameters

string $type: A field type name.

Return value

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

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

File

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

Class

FieldTypePluginManagerInterface
Defines an interface for the field type plugin manager.

Namespace

Drupal\Core\Field

Code

public function getDefaultFieldSettings($type);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.