You are here

function aet_insert_init in Advanced Entity Tokens 7

implementation of hook_init().

Sends the settings array to the javascript file.

File

aet_insert/aet_insert.module, line 63

Code

function aet_insert_init() {
  drupal_add_js(array(
    'aet_insert' => array(
      'ajax_path' => base_path() . AET_INSERT_FIELD_AJAX_PATH,
    ),
  ), 'setting');
}