You are here

function commentformsettings_get_settings in Node and Comments Form Settings 6.3

Same name and namespace in other branches
  1. 6.2 commentformsettings/commentformsettings.module \commentformsettings_get_settings()
  2. 7.3 commentformsettings/commentformsettings.module \commentformsettings_get_settings()
  3. 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
Implementation of hook_form_alter()
phptemplate_box in commentformsettings/commentformsettings.module
Theme function to alter the comments form

File

commentformsettings/commentformsettings.module, line 64
main file, only one hook_form_alter to change several settings

Code

function commentformsettings_get_settings($type) {
  return variable_get('commentformsettings_' . $type, '');
}