aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2011-02-11 14:57:51 -0200
committerSilvio <silvio@devlet.com.br>2011-02-11 14:57:51 -0200
commitb375889849d98669adfb3aff6623bce9ba2fd04b (patch)
treecf7a59f00377d1bd6381d090147d68dc0b76d563
parentf13c6d3954f362b389bc59487982dbf40e11518b (diff)
downloadnode_truncate-b375889849d98669adfb3aff6623bce9ba2fd04b.tar.gz
node_truncate-b375889849d98669adfb3aff6623bce9ba2fd04b.tar.bz2
Coding standards
-rw-r--r--node_truncate.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/node_truncate.module b/node_truncate.module
index 2a21daf..ce0f294 100644
--- a/node_truncate.module
+++ b/node_truncate.module
@@ -9,7 +9,7 @@
*/
/**
- * Implementation of hook_menu();
+ * Implements hook_menu().
*/
function node_truncate_menu() {
$items['admin/config/content/node_truncate'] = array(
@@ -52,14 +52,14 @@ function node_truncate_form($form, &$form_state) {
$form['submit'] = array(
'#type' => 'submit',
- '#value' => t('Submit'),
+ '#value' => t('Truncate'),
);
- return $form;
+ return $form;
}
/**
- * Implementation of hook_validate();
+ * Implements hook_validate().
*/
function node_truncate_form_validate($form, $form_state) {
if (!isset($form_state['values']['node_types'])) {