function Notifications_Field_Autocomplete::element_edit in Notifications 7
Build a form element to edit this field
Overrides Notifications_Field::element_edit
File
- ./
notifications.field.inc, line 434 - Drupal Notifications Framework - Default class file
Class
- Notifications_Field_Autocomplete
- Field with autocomplete values
Code
function element_edit($element = array()) {
$element += parent::element_edit($element);
$element['#default_value'] = $this
->autocomplete_value();
$element['#autocomplete_path'] = $this
->autocomplete_path();
return $element;
}