function ContentEntityBase::__isset
Implements the magic method for isset().
Overrides EntityBase::__isset
File
- 
              core/lib/ Drupal/ Core/ Entity/ ContentEntityBase.php, line 1158 
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
public function __isset($name) {
  if ($name == 'original') {
    return parent::__isset('original');
  }
  // "Official" Field API fields are always set. For non-field properties,
  // check the internal values.
  return $this->hasField($name) ? TRUE : isset($this->values[$name]);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
