function FieldItemBase::__isset
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::__isset()
- 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::__isset()
- 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::__isset()
Overrides FieldItemInterface::__isset
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 162
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public function __isset($name) {
if (isset($this->properties[$name])) {
return $this->properties[$name]
->getValue() !== NULL;
}
return isset($this->values[$name]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.