OptionsWidgetBase::$has_value
Tracks whether the field has a value.
Type: has_value
File
- 
              core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsWidgetBase.php, line 49  
Class
- OptionsWidgetBase
 - Base class for the 'options_*' widgets.
 
Namespace
Drupal\Core\Field\Plugin\Field\FieldWidgetCode
protected bool $has_value;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.