public function Subscriber::getChanges in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::getChanges()
- 8 src/Entity/Subscriber.php \Drupal\simplenews\Entity\Subscriber::getChanges()
Returns the changes.
Return value
array The subscriber changes.
Overrides SubscriberInterface::getChanges
File
- src/
Entity/ Subscriber.php, line 181
Class
- Subscriber
- Defines the simplenews subscriber entity.
Namespace
Drupal\simplenews\EntityCode
public function getChanges() {
return unserialize($this
->get('changes')->value);
}