function _taxonomy_menu_check_variable in Taxonomy menu 7
Same name and namespace in other branches
- 6.2 taxonomy_menu.module \_taxonomy_menu_check_variable()
Checks to see if the variable has changed.
Parameters
string $variable: Name of variable.
Return value
bool TRUE if it has changed
1 call to _taxonomy_menu_check_variable()
- taxonomy_menu_vocab_submit in ./
taxonomy_menu.module - Submit handler for the extra settings added to the taxonomy vocab form.
File
- ./
taxonomy_menu.module, line 296 - Adds links to taxonomy terms into a menu.
Code
function _taxonomy_menu_check_variable($variable, $new_value) {
if ($new_value != variable_get($variable, FALSE)) {
return TRUE;
}
return FALSE;
}