function MapItem::isEmpty

Overrides Map::isEmpty

File

core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php, line 115

Class

MapItem
Defines the 'map' entity field type.

Namespace

Drupal\Core\Field\Plugin\Field\FieldType

Code

public function isEmpty() {
  return empty($this->values);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.