You are here

function Notifications_Subscription_NoFields::event_conditions in Notifications 7

Return a simple subscription type condition

File

./notifications.subscription.inc, line 1682
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription_NoFields
Subscription without fields

Code

function event_conditions($event) {
  return db_and()
    ->condition('s.type', $this->type);
}