You are here

function _flag_flag_content_message in Flag 5

Same name and namespace in other branches
  1. 6.2 flag.install \_flag_flag_content_message()
  2. 6 flag.install \_flag_flag_content_message()
  3. 7.2 flag.install \_flag_flag_content_message()
2 calls to _flag_flag_content_message()
flag_enable in ./flag.install
Implementation of hook_enable().
flag_requirements in ./flag.install
Implementation of hook_requirements().

File

./flag.install, line 208
Flag module install/update hooks.

Code

function _flag_flag_content_message() {
  $t = get_t();
  return $t("You are trying to install the <em>Flag</em> module. However, you have the <em>\"Flag content\"</em> module installed, and these two modules aren't compatible (because they happen to use a database table by the same name). To install the <em>Flag</em> module, you'll first have to disable and then <a href='@uninstall-url'>uninstall</a> the <em>\"Flag content\"</em> module.", array(
    '@uninstall-url' => url('admin/build/modules/uninstall'),
  ));
}