function EmailItem::isEmpty
Same name in other branches
- 9 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php \Drupal\Core\Field\Plugin\Field\FieldType\EmailItem::isEmpty()
- 8.9.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php \Drupal\Core\Field\Plugin\Field\FieldType\EmailItem::isEmpty()
- 11.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php \Drupal\Core\Field\Plugin\Field\FieldType\EmailItem::isEmpty()
Overrides Map::isEmpty
File
-
core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EmailItem.php, line 85
Class
- EmailItem
- Defines the 'email' field type.
Namespace
Drupal\Core\Field\Plugin\Field\FieldTypeCode
public function isEmpty() {
return $this->value === NULL || $this->value === '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.