You are here

function Notifications_Node_Field::autocomplete_parse in Notifications 7

Parse value from autocomplete

Overrides Notifications_Field_Autocomplete::autocomplete_parse

File

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

Class

Notifications_Node_Field
Node fields

Code

function autocomplete_parse($string, $field = NULL) {
  module_load_include('inc', 'notifications', 'includes/node');
  return notifications_node_title2nid($string, $field);
}