You are here

public static function Notifications_Field::build in Notifications 7

Quick build

1 call to Notifications_Field::build()
Notifications_Subscription::add_field in ./notifications.subscription.inc
Add field from type, value

File

./notifications.field.inc, line 41
Drupal Notifications Framework - Default class file

Class

Notifications_Field
Base class for Notifications fields

Code

public static function build($type, $value) {
  return self::build_type($type, array(
    'value' => $value,
  ));
}