public function BynderMetadataItem::isEmpty in Bynder 4.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/Field/FieldType/BynderMetadataItem.php \Drupal\bynder\Plugin\Field\FieldType\BynderMetadataItem::isEmpty()
- 8.2 src/Plugin/Field/FieldType/BynderMetadataItem.php \Drupal\bynder\Plugin\Field\FieldType\BynderMetadataItem::isEmpty()
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/ BynderMetadataItem.php, line 50
Class
- BynderMetadataItem
- Plugin implementation of the 'bynder_metadata' field type.
Namespace
Drupal\bynder\Plugin\Field\FieldTypeCode
public function isEmpty() {
return $this->value === NULL || $this->value === '';
}