summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/entity_crud_hook_test.module
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-08-03 10:59:07 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-08-03 10:59:07 -0700
commitf4aa23a2ccddb6a4330cd7a81fea2d70a6da7b96 (patch)
treefc834a1ced08f26f50ffa9605aba89de293eb533 /modules/simpletest/tests/entity_crud_hook_test.module
parented2c39e2755ec00a7659710487812f173cd5236a (diff)
downloadbrdo-f4aa23a2ccddb6a4330cd7a81fea2d70a6da7b96.tar.gz
brdo-f4aa23a2ccddb6a4330cd7a81fea2d70a6da7b96.tar.bz2
Issue #1315340 by Albert Volkman, aspilicious: API docs cleanup for entity includes and tests
Diffstat (limited to 'modules/simpletest/tests/entity_crud_hook_test.module')
-rw-r--r--modules/simpletest/tests/entity_crud_hook_test.module23
1 files changed, 4 insertions, 19 deletions
diff --git a/modules/simpletest/tests/entity_crud_hook_test.module b/modules/simpletest/tests/entity_crud_hook_test.module
index 873a162ce..d25dff1b3 100644
--- a/modules/simpletest/tests/entity_crud_hook_test.module
+++ b/modules/simpletest/tests/entity_crud_hook_test.module
@@ -1,8 +1,9 @@
<?php
-//
-// Presave hooks
-//
+/**
+ * @file
+ * Test module for the Entity CRUD API.
+ */
/**
* Implements hook_entity_presave().
@@ -53,10 +54,6 @@ function entity_crud_hook_test_user_presave() {
$_SESSION['entity_crud_hook_test'][] = (__FUNCTION__ . ' called');
}
-//
-// Insert hooks
-//
-
/**
* Implements hook_entity_insert().
*/
@@ -106,10 +103,6 @@ function entity_crud_hook_test_user_insert() {
$_SESSION['entity_crud_hook_test'][] = (__FUNCTION__ . ' called');
}
-//
-// Load hooks
-//
-
/**
* Implements hook_entity_load().
*/
@@ -159,10 +152,6 @@ function entity_crud_hook_test_user_load() {
$_SESSION['entity_crud_hook_test'][] = (__FUNCTION__ . ' called');
}
-//
-// Update hooks
-//
-
/**
* Implements hook_entity_update().
*/
@@ -212,10 +201,6 @@ function entity_crud_hook_test_user_update() {
$_SESSION['entity_crud_hook_test'][] = (__FUNCTION__ . ' called');
}
-//
-// Delete hooks
-//
-
/**
* Implements hook_entity_delete().
*/