public function SimplenewsSubscriberController::save in Simplenews 7.2
Overrides EntityAPIController::save().
Overrides EntityAPIController::save
File
- includes/
simplenews.controller.inc, line 86 - Seimplenews entity controllers definitions.
Class
- SimplenewsSubscriberController
- Controller for simplenews_subscriber entity.
Code
public function save($entity, DatabaseTransaction $transaction = NULL) {
$entity->timestamp = REQUEST_TIME;
parent::save($entity, $transaction);
}