computed_field.install in Computed Field 5
Same filename and directory in other branches
File
computed_field.installView source
<?php
/**
* Implementation of hook_install().
*/
function computed_field_install() {
drupal_load('module', 'content');
content_notify('install', 'computed_field');
}
/**
* Implementation of hook_uninstall().
*/
function computed_field_uninstall() {
drupal_load('module', 'content');
content_notify('uninstall', 'computed_field');
}
/**
* Implementation of hook_enable().
*/
function computed_field_enable() {
drupal_load('module', 'content');
content_notify('enable', 'computed_field');
}
/**
* Implementation of hook_disable().
*/
function computed_field_disable() {
drupal_load('module', 'content');
content_notify('disable', 'computed_field');
}
Functions
Name | Description |
---|---|
computed_field_disable | Implementation of hook_disable(). |
computed_field_enable | Implementation of hook_enable(). |
computed_field_install | Implementation of hook_install(). |
computed_field_uninstall | Implementation of hook_uninstall(). |