function BooleanItem::getSettableOptions

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php \Drupal\Core\Field\Plugin\Field\FieldType\BooleanItem::getSettableOptions()
  2. 10 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php \Drupal\Core\Field\Plugin\Field\FieldType\BooleanItem::getSettableOptions()
  3. 11.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php \Drupal\Core\Field\Plugin\Field\FieldType\BooleanItem::getSettableOptions()

Overrides OptionsProviderInterface::getSettableOptions

File

core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php, line 111

Class

BooleanItem
Defines the 'boolean' entity field type.

Namespace

Drupal\Core\Field\Plugin\Field\FieldType

Code

public function getSettableOptions(AccountInterface $account = NULL) {
    return $this->getPossibleOptions($account);
}

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