function Notifications_Node_Field::autocomplete_value in Notifications 7
Format value for autocomplete
Overrides Notifications_Field_Autocomplete::autocomplete_value
File
- ./
notifications.field.inc, line 526 - Drupal Notifications Framework - Default class file
Class
- Notifications_Node_Field
- Node fields
Code
function autocomplete_value() {
$node = $this
->drupal_object();
return $node ? check_plain($node->title) . ' [nid:' . $node->nid . ']' : '';
}