You are here

function text_disable in Content Construction Kit (CCK) 6

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

Implementation of hook_disable().

Notify content module when this module is disabled.

File

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

Code

function text_disable() {
  content_notify('disable', 'text');
}