You are here

function text_enable in Content Construction Kit (CCK) 6

Same name in this branch
  1. 6 examples/simple_field.php \text_enable()
  2. 6 examples/example_field.php \text_enable()
  3. 6 modules/text/text.install \text_enable()
Same name and namespace in other branches
  1. 6.3 modules/text/text.install \text_enable()
  2. 6.2 modules/text/text.install \text_enable()

Implementation of hook_enable().

Notify content module when this module is enabled.

File

examples/example_field.php, line 52
These hooks are defined by field modules, modules that define a new kind of field for insertion in a content type.

Code

function text_enable() {
  content_notify('enable', 'text');
}