public function BynderMetadataItem::isEmpty in Bynder 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldType/BynderMetadataItem.php \Drupal\bynder\Plugin\Field\FieldType\BynderMetadataItem::isEmpty()
- 4.0.x 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 === '';
}