newsletter modification from account
email modification from account
This commit is contained in:
@@ -32,6 +32,11 @@ use Thelia\Core\Event\ActionEvent;
|
||||
*/
|
||||
class NewsletterEvent extends ActionEvent
|
||||
{
|
||||
/**
|
||||
* @var string email to save
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* @var string email to save
|
||||
*/
|
||||
@@ -138,6 +143,22 @@ class NewsletterEvent extends ActionEvent
|
||||
return $this->locale;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $id
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -691,9 +691,6 @@ final class TheliaEvents
|
||||
* sent for subscribing to the newsletter
|
||||
*/
|
||||
const NEWSLETTER_SUBSCRIBE = 'thelia.newsletter.subscribe';
|
||||
|
||||
/**
|
||||
* sent for subscribing to the newsletter
|
||||
*/
|
||||
const NEWSLETTER_UPDATE = 'thelia.newsletter.update';
|
||||
const NEWSLETTER_UNSUBSCRIBE = 'thelia.newsletter.unsubscribe';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user