function commentformsettings_get_settings in Node and Comments Form Settings 7.3
Same name and namespace in other branches
- 6.3 commentformsettings/commentformsettings.module \commentformsettings_get_settings()
- 6.2 commentformsettings/commentformsettings.module \commentformsettings_get_settings()
- 7.2 commentformsettings/commentformsettings.module \commentformsettings_get_settings()
Return the settings for a given content type using variable_get.
param @type content type machine name
return array()
2 calls to commentformsettings_get_settings()
- commentformsettings_form_alter in commentformsettings/
commentformsettings.module - Implements hook_form_alter().
- commentformsettings_process_format in commentformsettings/
commentformsettings.module - Custom callback function to process input format for all the fields.
File
- commentformsettings/
commentformsettings.module, line 68
Code
function commentformsettings_get_settings($type) {
return variable_get('commentformsettings_' . $type, '');
}