function _flag_flag_content_installed in Flag 5
Same name and namespace in other branches
- 6.2 flag.install \_flag_flag_content_installed()
- 6 flag.install \_flag_flag_content_installed()
- 7.2 flag.install \_flag_flag_content_installed()
Returns TRUE if the "Flag content" module, which we aren't compatible with, is installed.
3 calls to _flag_flag_content_installed()
- flag_enable in ./
flag.install - Implementation of hook_enable().
- flag_install in ./
flag.install - Implementation of hook_install().
- flag_requirements in ./
flag.install - Implementation of hook_requirements().
File
- ./
flag.install, line 203 - Flag module install/update hooks.
Code
function _flag_flag_content_installed() {
$version = @drupal_get_installed_schema_version('flag_content', TRUE);
return isset($version) && $version != SCHEMA_UNINSTALLED;
}