You are here

function iframe_enable in Iframe 6

Implementation of hook_enable().

File

./iframe.install, line 47
Defines simple iframe field types. based on the cck-module "link" by quicksketch Functions for install and uninstall AND Migrations

Code

function iframe_enable() {
  if (!module_exists('content') || !function_exists('content_notify')) {
    $ret['#abort'] = array(
      'success' => FALSE,
      'query' => t('Required module "content" (cck) not found!'),
    );
    return $ret;
  }
  content_notify('enable', 'iframe');
}