function LanguageItem::getSettableValues

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php \Drupal\Core\Field\Plugin\Field\FieldType\LanguageItem::getSettableValues()
  2. 8.9.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php \Drupal\Core\Field\Plugin\Field\FieldType\LanguageItem::getSettableValues()
  3. 10 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php \Drupal\Core\Field\Plugin\Field\FieldType\LanguageItem::getSettableValues()

Overrides OptionsProviderInterface::getSettableValues

File

core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php, line 146

Class

LanguageItem
Defines the 'language' entity field item.

Namespace

Drupal\Core\Field\Plugin\Field\FieldType

Code

public function getSettableValues(?AccountInterface $account = NULL) {
    return $this->getPossibleValues($account);
}

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