function clipboardjs_preprocess_clipboardjs in Clipboard.js 8
Same name and namespace in other branches
- 2.0.x clipboardjs.module \clipboardjs_preprocess_clipboardjs()
Implements hook_preprocess_HOOK().
File
- ./
clipboardjs.module, line 45 - Contains clipboardjs.module.
Code
function clipboardjs_preprocess_clipboardjs(&$variables) {
$variables['module_path'] = base_path() . drupal_get_path('module', 'clipboardjs');
$variables['id'] = uniqid('clipboardjs-');
}