function quote_init in Quote 6.2
Same name and namespace in other branches
- 6 quote.module \quote_init()
- 7 quote.module \quote_init()
Implementation of hook_init().
File
- ./
quote.module, line 45 - The quote module provides a filter and appropriate links that allow users to quote nodes and other comments in their own comments.
Code
function quote_init() {
// Reference quote.css, if it exists.
$path = drupal_get_path('module', 'quote');
drupal_add_css($path . '/quote.css');
drupal_add_js(array(
'quote_nest' => _quote_variable_get('nest'),
), 'setting');
drupal_add_js($path . '/quote.js');
}