menu_node_edit_variable($name, $all = FALSE)Implements an internal variable hook.
$name The name of the variable, without module prefix.
$all A boolean flag indicating whether to return one variable or all variables set by the module.
The variable value (using variable_get()), or an array of all variable definitions.
./menu_node_edit.module, line 276
<?php
function menu_node_edit_variable($name, $all = FALSE) {
$variables = array(
'tab' => 1,
'node_types' => _menu_node_edit_node_types(),
'tab_title' => t('My sections'),
'collapsed' => FALSE,
'per_page' => 25,
);
if ($all) {
return $variables;
}
return variable_get('menu_node_edit_'. $name, $variables[$name]);
}
?>