public function ScheduledChange::toArray in Commerce Recurring Framework 8
Gets the array representation of the scheduled change.
Return value
array The array representation of the scheduled change.
File
- src/
ScheduledChange.php, line 83
Class
- ScheduledChange
- Represents a scheduled change.
Namespace
Drupal\commerce_recurringCode
public function toArray() {
return [
'field_name' => $this->fieldName,
'value' => $this->value,
'created' => $this->created,
];
}