You are here

function fivestar_enable in Fivestar 6

Same name and namespace in other branches
  1. 6.2 fivestar.install \fivestar_enable()

Implementation of hook_enable().

File

./fivestar.install, line 30
Installation file for fivestar module.

Code

function fivestar_enable() {
  if (module_exists('content')) {
    module_load_include('inc', 'fivestar', 'fivestar_field');
    content_notify('enable', 'fivestar');
  }
}