You are here

function iframe_install in Iframe 6

Implementation of hook_install().

File

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

Code

function iframe_install() {
  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('install', 'iframe');
}