summaryrefslogtreecommitdiff
path: root/modules/node/tests
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-04 16:49:48 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-04 16:49:48 +0000
commit1da26fadfe9cdcbd89a912b9f61c710adff4c6c8 (patch)
treed77a0c5420a53c65d24b8ac1842b7f1e356c39d3 /modules/node/tests
parent8523aca33e828c638f2373e5be4e80ed30866a58 (diff)
downloadbrdo-1da26fadfe9cdcbd89a912b9f61c710adff4c6c8.tar.gz
brdo-1da26fadfe9cdcbd89a912b9f61c710adff4c6c8.tar.bz2
- Patch #502190 by jhodgdon, stella, sun: hook implementation headers out of compliance with standards.
Diffstat (limited to 'modules/node/tests')
-rw-r--r--modules/node/tests/node_test.module10
-rw-r--r--modules/node/tests/node_test_exception.module2
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/node/tests/node_test.module b/modules/node/tests/node_test.module
index dc354ff80..3fcdb08f4 100644
--- a/modules/node/tests/node_test.module
+++ b/modules/node/tests/node_test.module
@@ -8,7 +8,7 @@
*/
/**
- * Implement hook_node_view().
+ * Implements hook_node_view().
*/
function node_test_node_view($node, $build_mode) {
if ($build_mode == 'rss') {
@@ -35,7 +35,7 @@ function node_test_node_view($node, $build_mode) {
}
/**
- * Implement hook_node_grants().
+ * Implements hook_node_grants().
*/
function node_test_node_grants($account, $op) {
// Give everyone full grants so we don't break other node tests.
@@ -49,7 +49,7 @@ function node_test_node_grants($account, $op) {
}
/**
- * Implement hook_node_access_records().
+ * Implements hook_node_access_records().
*/
function node_test_node_access_records($node) {
$grants = array();
@@ -79,7 +79,7 @@ function node_test_node_access_records($node) {
}
/**
- * Implement hook_node_access_records_alter().
+ * Implements hook_node_access_records_alter().
*/
function node_test_node_access_records_alter(&$grants, $node) {
if (!empty($grants)) {
@@ -94,7 +94,7 @@ function node_test_node_access_records_alter(&$grants, $node) {
}
/**
- * Implement hook_node_grants_alter().
+ * Implements hook_node_grants_alter().
*/
function node_test_node_grants_alter(&$grants, $account, $op) {
// Return an empty array of grants to prove that we can alter by reference.
diff --git a/modules/node/tests/node_test_exception.module b/modules/node/tests/node_test_exception.module
index 7b09c77c7..a8191a58c 100644
--- a/modules/node/tests/node_test_exception.module
+++ b/modules/node/tests/node_test_exception.module
@@ -8,7 +8,7 @@
*/
/**
- * Implement hook_node_insert().
+ * Implements hook_node_insert().
*/
function node_test_exception_node_insert($node) {
if ($node->title['zxx'][0]['value'] == 'testing_transaction_exception') {