constant FLAG_API_VERSION in Flag 7.2
Same name and namespace in other branches
- 6.2 flag.module \FLAG_API_VERSION
- 7.3 flag.module \FLAG_API_VERSION
@file The Flag module.
A note on terminology: due to the 7.x-2.x branch of flag being a reasonably straight port of 6.x-2.x, the Drupal 6 term 'content type' persists in function names, database fields, and variables. Thus: 'content type' -> 'entity type' (though not exclusively, as a flag type may be defined for any kind of object) 'content' -> 'entity' 'sub-type' -> 'bundle' ('type' is also used sometimes!)
3 uses of FLAG_API_VERSION
- flag_export_flags in includes/
flag.export.inc - Export a flag to code.
- flag_flag::is_compatible in ./
flag.inc - Returns TRUE if this flag's declared API version is compatible with this module.
- flag_update_export in includes/
flag.export.inc - Update a flag before export.
File
- ./
flag.module, line 17 - The Flag module.
Code
define('FLAG_API_VERSION', 2);