function template_preprocess_data_taxonomy_tagging_form

cis7 data_taxonomy.module template_preprocess_data_taxonomy_tagging_form(&$vars)

Preprocessor for theme('data_taxonomy_tagging_form').

File

sites/all/modules/local_contrib/data/data_taxonomy/data_taxonomy.module, line 513
Hooks and API functions for Data Node module.

Code

function template_preprocess_data_taxonomy_tagging_form(&$vars) {
  drupal_add_js(drupal_get_path('module', 'data_taxonomy') . '/theme/data_taxonomy.js');
  drupal_add_css(drupal_get_path('module', 'data_taxonomy') . '/theme/data_taxonomy.css');
  $vars['label'] = $vars['form']['#vocab']->name;
  if ($vars['form']['#edit']) {
    $vars['edit'] = $vars['form']['#edit'];
  }
  $vars['tags'] = theme('links', array('links' => data_taxonomy_tag_links($vars['form']['#terms'], $vars['form']['#path'], $vars['form']['#args']), 'attributes' => array('class' => 'links data-taxonomy-tags')));
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.