function sharerich_install in Sharerich 7
Same name and namespace in other branches
- 8 sharerich.install \sharerich_install()
- 7.3 sharerich.install \sharerich_install()
- 7.2 sharerich.install \sharerich_install()
Implements hook_install().
File
- ./
sharerich.install, line 10 - Install hooks for Sharerich project.
Code
function sharerich_install() {
if (libraries_load('rrssb')) {
variable_set('sharerich_add_js', libraries_get_path('rrssb') . '/js/rrssb.min.js');
variable_set('sharerich_add_css', libraries_get_path('rrssb') . '/css/rrssb.css' . PHP_EOL . drupal_get_path('module', 'sharerich') . '/css/sharerich.css');
}
}