function text_disable in Content Construction Kit (CCK) 6
Same name in this branch
- 6 examples/simple_field.php \text_disable()
- 6 examples/example_field.php \text_disable()
- 6 modules/text/text.install \text_disable()
Same name and namespace in other branches
- 6.3 modules/text/text.install \text_disable()
- 6.2 modules/text/text.install \text_disable()
Implementation of hook_disable().
Notify content module when this module is disabled.
File
- examples/
simple_field.php, line 69 - SIMPLE EXAMPLE. This is similar to to example_field but creates only a single widget formatted in the traditional manner, not using hook_elements. This example also omits all optional parts of the field module to create a simpler example for…
Code
function text_disable() {
content_notify('disable', 'text');
}