public function CountryItem::isEmpty in Address 8
Determines whether the data structure is empty.
Return value
bool TRUE if the data structure is empty, FALSE otherwise.
Overrides Map::isEmpty
File
- src/
Plugin/ Field/ FieldType/ CountryItem.php, line 70
Class
- CountryItem
- Plugin implementation of the 'address_country' field type.
Namespace
Drupal\address\Plugin\Field\FieldTypeCode
public function isEmpty() {
return empty($this->value);
}