You are here

public function SubscriptionStorageInterface::deleteSubscriptions in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Subscription/SubscriptionStorageInterface.php \Drupal\simplenews\Subscription\SubscriptionStorageInterface::deleteSubscriptions()
  2. 3.x src/Subscription/SubscriptionStorageInterface.php \Drupal\simplenews\Subscription\SubscriptionStorageInterface::deleteSubscriptions()

Deletes subscriptions.

Parameters

array $conditions: An associative array of conditions matching the records to be delete. Example: array('newsletter_id' => 5, 'snid' => 12) Delete the subscription of subscriber 12 to newsletter newsletter_id 5.

Related topics

1 method overrides SubscriptionStorageInterface::deleteSubscriptions()
SubscriptionStorage::deleteSubscriptions in src/Subscription/SubscriptionStorage.php
Deletes subscriptions.

File

src/Subscription/SubscriptionStorageInterface.php, line 20

Class

SubscriptionStorageInterface
Subscription storage.

Namespace

Drupal\simplenews\Subscription

Code

public function deleteSubscriptions(array $conditions = []);