public function SubscriptionStorageInterface::deleteSubscriptions in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Subscription/SubscriptionStorageInterface.php \Drupal\simplenews\Subscription\SubscriptionStorageInterface::deleteSubscriptions()
- 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\SubscriptionCode
public function deleteSubscriptions($conditions = array());