function FieldConfigBase::getSettings

Returns the array of settings, as required by the used class.

See the documentation of the class for supported or required settings.

Return value

array The array of settings.

Overrides DataDefinitionInterface::getSettings

2 calls to FieldConfigBase::getSettings()
FieldConfigBase::getItemDefinition in core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigBase::postCreate in core/lib/Drupal/Core/Field/FieldConfigBase.php

File

core/lib/Drupal/Core/Field/FieldConfigBase.php, line 372

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

public function getSettings() {
  return $this->settings + $this->getFieldStorageDefinition()
    ->getSettings();
}

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