public ContentEntityBase::__isset($name)
Implements the magic method for isset().
File
- core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 953
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\Entity
Code
public function __isset($name) { // "Official" Field API fields are always set. if ($this->hasField($name)) { return TRUE; } // For non-field properties, check the internal values. else { return isset($this->values[$name]); } }
Please login to continue.