You are here

function Notifications_Field_Autocomplete::parse_value in Notifications 7

Parsing values may be different for these ones

Overrides Notifications_Field::parse_value

File

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

Class

Notifications_Field_Autocomplete
Field with autocomplete values

Code

function parse_value($value) {
  if (is_string($value) && ($parsed = $this
    ->autocomplete_parse($value))) {
    return $parsed;
  }
  else {
    return parent::parse_value($value);
  }
}