W3cubDocs

/Drupal 8

public static function FieldItemBase::defaultFieldSettings

public static FieldItemBase::defaultFieldSettings()

Defines the field-level settings for this plugin.

Return value

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

Overrides FieldItemInterface::defaultFieldSettings

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 32

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public static function defaultFieldSettings() {
  return array();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldItemBase.php/function/FieldItemBase::defaultFieldSettings/8.1.x