You are here

function commentformsettings_elements_validate in Node and Comments Form Settings 6.2

Same name and namespace in other branches
  1. 6.3 commentformsettings/commentformsettings.module \commentformsettings_elements_validate()
  2. 7.3 commentformsettings/commentformsettings.module \commentformsettings_elements_validate()
  3. 7.2 commentformsettings/commentformsettings.module \commentformsettings_elements_validate()

Define all elements that need validation

1 call to commentformsettings_elements_validate()
commentformsettings_settings_validate in commentformsettings/commentformsettings.module
We use this function to validate

File

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

Code

function commentformsettings_elements_validate() {
  return array(
    'cfs_comment_cancel',
    'cfs_preview',
    'cfs_newadmin',
  );
}