FILTER_FORMAT_DEFAULT

  1. drupal
    1. 4.6 modules/filter.module
    2. 4.7 modules/filter.module
    3. 5 modules/filter/filter.module
    4. 6 modules/filter/filter.module

File

modules/filter/filter.module, line 11
Framework for handling filtering of content.

Code

define('FILTER_FORMAT_DEFAULT', 0)

Comments

No longer in Drupal 7

In Drupal 7, you'll need to replace this with either http://api.drupal.org/api/function/filter_fallback_format/7 (fallback default for everyone) or http://api.drupal.org/api/function/filter_default_format/7 (user-specific default), depending on your use case.

See http://drupal.org/node/633974 for one example where this was fixed.

Login or register to post comments