summaryrefslogtreecommitdiff
path: root/modules/trigger
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-27 18:34:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-27 18:34:03 +0000
commit0f4060f377a6ccea57a183b3c3e4801c450f5476 (patch)
tree07a7bd87373613f3e884c8f56bfb9911eda38511 /modules/trigger
parent5bdcc4ada232bf92e3d529962d9f7aa2536605cc (diff)
downloadbrdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.gz
brdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.bz2
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
Diffstat (limited to 'modules/trigger')
-rw-r--r--modules/trigger/trigger.install6
-rw-r--r--modules/trigger/trigger.module42
2 files changed, 24 insertions, 24 deletions
diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install
index d95dfe623..1c4d827b7 100644
--- a/modules/trigger/trigger.install
+++ b/modules/trigger/trigger.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function trigger_install() {
// Create tables.
@@ -18,7 +18,7 @@ function trigger_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function trigger_uninstall() {
// Remove tables.
@@ -26,7 +26,7 @@ function trigger_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function trigger_schema() {
$schema['trigger_assignments'] = array(
diff --git a/modules/trigger/trigger.module b/modules/trigger/trigger.module
index 9cf0a4f84..f7affbbd0 100644
--- a/modules/trigger/trigger.module
+++ b/modules/trigger/trigger.module
@@ -8,7 +8,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function trigger_help($path, $arg) {
$explanation = '<p>' . t('Triggers are system events, such as when new content is added or when a user logs in. Trigger module combines these triggers with actions (functional tasks), such as unpublishing content or e-mailing an administrator. The <a href="@url">Actions settings page</a> contains a list of existing actions and provides the ability to create and configure additional actions.', array('@url' => url('admin/settings/actions'))) . '</p>';
@@ -32,7 +32,7 @@ function trigger_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function trigger_menu() {
$items['admin/build/trigger'] = array(
@@ -143,7 +143,7 @@ function _trigger_get_hook_aids($hook, $op = '') {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function trigger_theme() {
return array(
@@ -155,7 +155,7 @@ function trigger_theme() {
}
/**
- * Implementation of hook_forms(). We reuse code by using the
+ * Implement hook_forms(). We reuse code by using the
* same assignment form definition for each node-op combination.
*/
function trigger_forms() {
@@ -242,35 +242,35 @@ function _trigger_node($node, $op, $a3 = NULL, $a4 = NULL) {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function trigger_node_view($node, $teaser) {
_trigger_node($node, 'view', $teaser);
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function trigger_node_update($node) {
_trigger_node($node, 'update');
}
/**
- * Implementation of hook_node_presave().
+ * Implement hook_node_presave().
*/
function trigger_node_presave($node) {
_trigger_node($node, 'presave');
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function trigger_node_insert($node) {
_trigger_node($node, 'insert');
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function trigger_node_delete($node) {
_trigger_node($node, 'delete');
@@ -303,28 +303,28 @@ function _trigger_normalize_comment_context($type, $comment) {
}
/**
- * Implementation of hook_comment_insert().
+ * Implement hook_comment_insert().
*/
function trigger_comment_insert($form_values) {
_trigger_comment($form_values, 'insert');
}
/**
- * Implementation of hook_comment_update().
+ * Implement hook_comment_update().
*/
function trigger_comment_update($form_values) {
_trigger_comment($form_values, 'update');
}
/**
- * Implementation of hook_comment_delete().
+ * Implement hook_comment_delete().
*/
function trigger_comment_delete($comment) {
_trigger_comment($comment, 'delete');
}
/**
- * Implementation of hook_comment_view().
+ * Implement hook_comment_view().
*/
function trigger_comment_view($comment) {
_trigger_comment($comment, 'view');
@@ -368,7 +368,7 @@ function _trigger_comment($a1, $op) {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*/
function trigger_cron() {
$aids = _trigger_get_hook_aids('cron', 'run');
@@ -420,28 +420,28 @@ function trigger_user_login(&$edit, &$account, $category) {
}
/**
- * Implementation of hook_user_logout().
+ * Implement hook_user_logout().
*/
function trigger_user_logout($edit, $account) {
_trigger_user('logout', $edit, $account);
}
/**
- * Implementation of hook_user_insert().
+ * Implement hook_user_insert().
*/
function trigger_user_insert(&$edit, &$account, $category) {
_trigger_user('insert', $edit, $account, $category);
}
/**
- * Implementation of hook_user_update().
+ * Implement hook_user_update().
*/
function trigger_user_update(&$edit, &$account, $category) {
_trigger_user('update', $edit, $account, $category);
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function trigger_user_cancel($edit, $account, $method) {
switch ($method) {
@@ -453,7 +453,7 @@ function trigger_user_cancel($edit, $account, $method) {
}
/**
- * Implementation of hook_user_view().
+ * Implement hook_user_view().
*/
function trigger_user_view(&$edit, &$account, $category) {
_trigger_user('view', $edit, $account, $category);
@@ -488,7 +488,7 @@ function _trigger_user($op, &$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_taxonomy().
+ * Implement hook_taxonomy().
*/
function trigger_taxonomy($op, $type, $array) {
if ($type != 'term') {
@@ -529,7 +529,7 @@ function trigger_options($type = 'all') {
}
/**
- * Implementation of hook_actions_delete().
+ * Implement hook_actions_delete().
*
* Remove all trigger entries for the given action, when deleted.
*/