New module 'Computed Field'

This commit is contained in:
Manuel Cillero 2017-07-26 13:20:05 +02:00
parent ba9e434758
commit 881f0335cf
6 changed files with 1094 additions and 0 deletions

View file

@ -0,0 +1,33 @@
<?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');
}