function auto_menutitle_get_default_setting in Auto Menu Title 6.2
Returns the auto_menutitle setting depending on the content type paramatar.
2 calls to auto_menutitle_get_default_setting()
- auto_menutitle_form_alter in ./
auto_menutitle.module - Implementation of hook_form_alter().
- auto_menutitle_node_settings_form in ./
auto_menutitle.module - Implementation of node_settings_form().
File
- ./
auto_menutitle.module, line 164 - Allows the menu title field to be automatically populated with the contents written into the node Title field
Code
function auto_menutitle_get_default_setting($type) {
return variable_get('amt_' . $type, AUTO_MENUTITLE_DISABLED);
}