[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/cck/modules/text/ -> text.install (summary)

(no description)

File Size: 156 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  text_install()
  text_uninstall()
  text_enable()
  text_disable()
  text_update_last_removed()
  text_update_6000()
  text_update_6001()
  text_update_6002()
  text_update_6003()

Functions
Functions that are not part of a class:

text_install()   X-Ref


text_uninstall()   X-Ref
Implementation of hook_uninstall().


text_enable()   X-Ref
Implementation of hook_enable().

Notify content module when this module is enabled.

text_disable()   X-Ref
Implementation of hook_disable().

Notify content module when this module is disabled.

text_update_last_removed()   X-Ref
No description

text_update_6000()   X-Ref
Rename widgets to match hook_elements values.

The change in field_types will keep content_update_6000() from correctly updating
the module names in the field and instance tables, so do it here.


text_update_6001(&$sandbox)   X-Ref
Set all columns to accept NULL values and set empty string values in the
database to NULL.

Leaving it up to module developers to handle conversion of numbers to
NULL values, since there are times when zeros are valid data and times
when they should be NULL.


text_update_6002()   X-Ref
Update 6000 and 6001 were possibly broken if they were executed while
the modules were still disabled, so we re-run them.
Having them run a second time on sites that got updated correctly has no
side-effect (see http://drupal.org/node/310873).


text_update_6003(&$sandbox)   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7