public function ScheduledChangeItem::isEmpty in Commerce Recurring Framework 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/ ScheduledChangeItem.php, line 72
Class
- ScheduledChangeItem
- Plugin implementation of the 'commerce_scheduled_change' field type.
Namespace
Drupal\commerce_recurring\Plugin\Field\FieldTypeCode
public function isEmpty() {
return empty($this->field_name) || empty($this->value);
}