You are here

public function SubscriberInterface::setSyncing in Simplenews 8

Sets whether the subscriber is syncing from/to the corresponding user.

Parameters

bool $sync: (optional) Whether the subscriber is syncing. Defaults to TRUE.

Overrides SynchronizableInterface::setSyncing

File

src/SubscriberInterface.php, line 203

Class

SubscriberInterface
Provides an interface defining a contant message entity

Namespace

Drupal\simplenews

Code

public function setSyncing($sync = TRUE);