function text_enable in Content Construction Kit (CCK) 6
Same name in this branch
- 6 examples/simple_field.php \text_enable()
- 6 examples/example_field.php \text_enable()
- 6 modules/text/text.install \text_enable()
Same name and namespace in other branches
- 6.3 modules/text/text.install \text_enable()
- 6.2 modules/text/text.install \text_enable()
Implementation of hook_enable().
Notify content module when this module is enabled.
File
- examples/
simple_field.php, line 60 - 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_enable() {
content_notify('enable', 'text');
}