AccessAdminPagesSniff |
coder_sniffer/DrupalPractice/Sniffs/General/AccessAdminPagesSniff.php |
Throws a warning if the "access administration pages" string is found in
hook_menu(). |
ClassNameSniff |
coder_sniffer/DrupalPractice/Sniffs/General/ClassNameSniff.php |
Checks that classes without namespaces are properly prefixed with the module
name. |
DescriptionTSniff |
coder_sniffer/DrupalPractice/Sniffs/General/DescriptionTSniff.php |
Checks that string values for #description in render arrays are translated. |
ExceptionTSniff |
coder_sniffer/DrupalPractice/Sniffs/General/ExceptionTSniff.php |
Checks that exceptions aren't translated. |
FormStateInputSniff |
coder_sniffer/DrupalPractice/Sniffs/General/FormStateInputSniff.php |
Throws a message whenever $form_state['input'] is used. $form_state['values']
is preferred. |
LanguageNoneSniff |
coder_sniffer/DrupalPractice/Sniffs/General/LanguageNoneSniff.php |
Checks that ['und'] is not used, should be LANGUAGE_NONE. |
OptionsTSniff |
coder_sniffer/DrupalPractice/Sniffs/General/OptionsTSniff.php |
Checks that values in #options form arrays are translated. |
VariableNameSniff |
coder_sniffer/DrupalPractice/Sniffs/General/VariableNameSniff.php |
Checks the usage of variable_get() in forms and the variable name. |