You are here

function _entityqueue_subqueue_add_form_files in Entityqueue 7

Add all appropriate includes to forms so that caching the form still loads the files that we need.

1 call to _entityqueue_subqueue_add_form_files()
entityqueue_subqueue_edit_form in includes/entityqueue.admin.inc
Form callback; Displays the subqueue edit form.

File

includes/entityqueue.admin.inc, line 11
Administrative pages for Entity Queue.

Code

function _entityqueue_subqueue_add_form_files($form, &$form_state) {
  ctools_form_include($form_state, 'export');
  ctools_form_include($form_state, 'export-ui');

  // Also make sure the plugin .inc and .class.php files are loaded.
  form_load_include($form_state, 'inc', 'entityqueue', '/includes/entityqueue.admin');
  form_load_include($form_state, 'inc', 'entityqueue', '/plugins/ctools/export_ui/entityqueue_export_ui');
  form_load_include($form_state, 'php', 'entityqueue', '/plugins/ctools/export_ui/entityqueue_export_ui.class');
}