You are here

function mediafront_enable in MediaFront 6

Same name and namespace in other branches
  1. 6.2 mediafront.install \mediafront_enable()

Implementation of hook_enable().

File

./mediafront.install, line 72

Code

function mediafront_enable() {
  if (module_exists('content')) {
    module_load_include('inc', 'mediafront', 'mediafront_field');
    content_notify('enable', 'mediafront');
  }
}