You are here

function feed_import_ajax_add_new_item in Feed Import 7.3

Same name and namespace in other branches
  1. 7 feed_import.module \feed_import_ajax_add_new_item()
  2. 7.2 feed_import.module \feed_import_ajax_add_new_item()

Ajax callback to add a new item

2 string references to 'feed_import_ajax_add_new_item'
feed_import_dynamic_func_form in ./feed_import.module
Dynamic functions form.
feed_import_fields_form in ./feed_import.module
Fields edit form

File

./feed_import.module, line 2295
User interface, cron functions for feed_import module

Code

function feed_import_ajax_add_new_item($form, &$form_state) {
  if ($form_state['#field_added']) {
    return $form['fields']['container_' . $form_state['#current_item']];
  }
  return NULL;
}