summaryrefslogtreecommitdiff
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
parent5bdcc4ada232bf92e3d529962d9f7aa2536605cc (diff)
downloadbrdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.gz
brdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.bz2
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
-rw-r--r--modules/aggregator/aggregator.fetcher.inc4
-rw-r--r--modules/aggregator/aggregator.install6
-rw-r--r--modules/aggregator/aggregator.module20
-rw-r--r--modules/aggregator/aggregator.parser.inc4
-rw-r--r--modules/aggregator/aggregator.processor.inc8
-rw-r--r--modules/aggregator/tests/aggregator_test.module2
-rw-r--r--modules/block/block.install6
-rw-r--r--modules/block/block.module28
-rw-r--r--modules/blog/blog.module22
-rw-r--r--modules/blogapi/blogapi.install6
-rw-r--r--modules/blogapi/blogapi.module10
-rw-r--r--modules/book/book.install6
-rw-r--r--modules/book/book.module38
-rw-r--r--modules/color/color.module10
-rw-r--r--modules/comment/comment.install8
-rw-r--r--modules/comment/comment.module48
-rw-r--r--modules/contact/contact.install6
-rw-r--r--modules/contact/contact.module14
-rw-r--r--modules/dblog/dblog.admin.inc2
-rw-r--r--modules/dblog/dblog.install6
-rw-r--r--modules/dblog/dblog.module12
-rw-r--r--modules/field/field.attach.inc2
-rw-r--r--modules/field/field.autoload.inc2
-rw-r--r--modules/field/field.install4
-rw-r--r--modules/field/field.module18
-rw-r--r--modules/field/modules/field_sql_storage/field_sql_storage.install6
-rw-r--r--modules/field/modules/field_sql_storage/field_sql_storage.module18
-rw-r--r--modules/field/modules/list/list.module12
-rw-r--r--modules/field/modules/number/number.module20
-rw-r--r--modules/field/modules/options/options.module10
-rw-r--r--modules/field/modules/text/text.module20
-rw-r--r--modules/filter/filter.install2
-rw-r--r--modules/filter/filter.module14
-rw-r--r--modules/forum/forum.admin.inc2
-rw-r--r--modules/forum/forum.install6
-rw-r--r--modules/forum/forum.module46
-rw-r--r--modules/help/help.module4
-rw-r--r--modules/locale/locale.install6
-rw-r--r--modules/locale/locale.module26
-rw-r--r--modules/locale/tests/locale_test.module2
-rw-r--r--modules/menu/menu.install6
-rw-r--r--modules/menu/menu.module24
-rw-r--r--modules/node/content_types.inc6
-rw-r--r--modules/node/node.admin.inc2
-rw-r--r--modules/node/node.install2
-rw-r--r--modules/node/node.module66
-rw-r--r--modules/node/tests/node_test.module10
-rw-r--r--modules/openid/openid.install6
-rw-r--r--modules/openid/openid.module12
-rw-r--r--modules/openid/tests/openid_test.install2
-rw-r--r--modules/openid/tests/openid_test.module2
-rw-r--r--modules/path/path.module18
-rw-r--r--modules/php/php.install4
-rw-r--r--modules/php/php.module8
-rw-r--r--modules/poll/poll.install6
-rw-r--r--modules/poll/poll.module40
-rw-r--r--modules/profile/profile.install6
-rw-r--r--modules/profile/profile.module32
-rw-r--r--modules/search/search.install6
-rw-r--r--modules/search/search.module28
-rw-r--r--modules/simpletest/simpletest.install4
-rw-r--r--modules/simpletest/simpletest.module10
-rw-r--r--modules/simpletest/simpletest.test4
-rw-r--r--modules/simpletest/tests/database_test.install6
-rw-r--r--modules/simpletest/tests/database_test.module6
-rw-r--r--modules/simpletest/tests/error_test.module2
-rw-r--r--modules/simpletest/tests/field_test.install6
-rw-r--r--modules/simpletest/tests/field_test.module28
-rw-r--r--modules/simpletest/tests/file_test.module20
-rw-r--r--modules/simpletest/tests/form_test.module2
-rw-r--r--modules/simpletest/tests/image_test.module2
-rw-r--r--modules/simpletest/tests/menu_test.module2
-rw-r--r--modules/simpletest/tests/session_test.module4
-rw-r--r--modules/simpletest/tests/system_test.module16
-rw-r--r--modules/simpletest/tests/taxonomy_test.install6
-rw-r--r--modules/simpletest/tests/taxonomy_test.module10
-rw-r--r--modules/simpletest/tests/xmlrpc_test.module2
-rw-r--r--modules/statistics/statistics.install6
-rw-r--r--modules/statistics/statistics.module28
-rw-r--r--modules/syslog/syslog.module6
-rw-r--r--modules/system/system.install4
-rw-r--r--modules/system/system.module46
-rw-r--r--modules/system/system.test26
-rw-r--r--modules/taxonomy/taxonomy.install6
-rw-r--r--modules/taxonomy/taxonomy.module28
-rw-r--r--modules/tracker/tracker.module4
-rw-r--r--modules/translation/translation.module24
-rw-r--r--modules/trigger/trigger.install6
-rw-r--r--modules/trigger/trigger.module42
-rw-r--r--modules/update/update.install6
-rw-r--r--modules/update/update.module18
-rw-r--r--modules/upload/upload.install6
-rw-r--r--modules/upload/upload.module30
-rw-r--r--modules/user/user.install2
-rw-r--r--modules/user/user.module54
-rw-r--r--profiles/default/default.profile2
-rw-r--r--profiles/expert/expert.profile2
-rw-r--r--themes/engines/phptemplate/phptemplate.engine2
98 files changed, 625 insertions, 625 deletions
diff --git a/modules/aggregator/aggregator.fetcher.inc b/modules/aggregator/aggregator.fetcher.inc
index 9d1f8f580..fcad26578 100644
--- a/modules/aggregator/aggregator.fetcher.inc
+++ b/modules/aggregator/aggregator.fetcher.inc
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_aggregator_fetch_info().
+ * Implement hook_aggregator_fetch_info().
*/
function aggregator_aggregator_fetch_info() {
return array(
@@ -17,7 +17,7 @@ function aggregator_aggregator_fetch_info() {
}
/**
- * Implementation of hook_aggregator_fetch().
+ * Implement hook_aggregator_fetch().
*/
function aggregator_aggregator_fetch($feed) {
$feed->source_string = FALSE;
diff --git a/modules/aggregator/aggregator.install b/modules/aggregator/aggregator.install
index f83ae332d..e63ce4fd7 100644
--- a/modules/aggregator/aggregator.install
+++ b/modules/aggregator/aggregator.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function aggregator_install() {
// Create tables.
@@ -15,7 +15,7 @@ function aggregator_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function aggregator_uninstall() {
// Remove tables.
@@ -31,7 +31,7 @@ function aggregator_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function aggregator_schema() {
$schema['aggregator_category'] = array(
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 8b38db796..98fe9bc24 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function aggregator_help($path, $arg) {
switch ($path) {
@@ -30,7 +30,7 @@ function aggregator_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function aggregator_theme() {
return array(
@@ -78,7 +78,7 @@ function aggregator_theme() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function aggregator_menu() {
$items['admin/content/aggregator'] = array(
@@ -248,7 +248,7 @@ function _aggregator_category_title($category) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function aggregator_init() {
drupal_add_css(drupal_get_path('module', 'aggregator') . '/aggregator.css');
@@ -265,7 +265,7 @@ function _aggregator_has_categories() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function aggregator_perm() {
return array(
@@ -281,7 +281,7 @@ function aggregator_perm() {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*
* Checks news feeds for updates once their refresh interval has elapsed.
*/
@@ -293,7 +293,7 @@ function aggregator_cron() {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function aggregator_block_list() {
$block = array();
@@ -309,7 +309,7 @@ function aggregator_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function aggregator_block_configure($delta = '') {
list($type, $id) = explode('-', $delta);
@@ -326,7 +326,7 @@ function aggregator_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function aggregator_block_save($delta = '', $edit = array()) {
list($type, $id) = explode('-', $delta);
@@ -339,7 +339,7 @@ function aggregator_block_save($delta = '', $edit = array()) {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Generates blocks for the latest news items in each category and feed.
*/
diff --git a/modules/aggregator/aggregator.parser.inc b/modules/aggregator/aggregator.parser.inc
index b67be8703..4b0c9ca94 100644
--- a/modules/aggregator/aggregator.parser.inc
+++ b/modules/aggregator/aggregator.parser.inc
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_aggregator_parse_info().
+ * Implement hook_aggregator_parse_info().
*/
function aggregator_aggregator_parse_info() {
return array(
@@ -17,7 +17,7 @@ function aggregator_aggregator_parse_info() {
}
/**
- * Implementation of hook_aggregator_parse().
+ * Implement hook_aggregator_parse().
*/
function aggregator_aggregator_parse($feed) {
global $channel, $image;
diff --git a/modules/aggregator/aggregator.processor.inc b/modules/aggregator/aggregator.processor.inc
index 247ceb7a0..592eee1ab 100644
--- a/modules/aggregator/aggregator.processor.inc
+++ b/modules/aggregator/aggregator.processor.inc
@@ -12,7 +12,7 @@
define('AGGREGATOR_CLEAR_NEVER', 0);
/**
- * Implementation of hook_aggregator_process_info().
+ * Implement hook_aggregator_process_info().
*/
function aggregator_aggregator_process_info() {
return array(
@@ -22,7 +22,7 @@ function aggregator_aggregator_process_info() {
}
/**
- * Implementation of hook_aggregator_process().
+ * Implement hook_aggregator_process().
*/
function aggregator_aggregator_process($feed) {
if (is_object($feed)) {
@@ -50,7 +50,7 @@ function aggregator_aggregator_process($feed) {
}
/**
- * Implementation of hook_aggregator_remove().
+ * Implement hook_aggregator_remove().
*/
function aggregator_aggregator_remove($feed) {
$iids = db_query('SELECT iid FROM {aggregator_item} WHERE fid = :fid', array(':fid' => $feed->fid))->fetchCol();
@@ -67,7 +67,7 @@ function aggregator_aggregator_remove($feed) {
}
/**
- * Implementation of hook_form_aggregator_admin_form_alter().
+ * Implement hook_form_aggregator_admin_form_alter().
*
* Form alter aggregator module's own form to keep processor functionality
* separate from aggregator API functionality.
diff --git a/modules/aggregator/tests/aggregator_test.module b/modules/aggregator/tests/aggregator_test.module
index 61b64652a..6596ec496 100644
--- a/modules/aggregator/tests/aggregator_test.module
+++ b/modules/aggregator/tests/aggregator_test.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function aggregator_test_menu() {
$items['aggregator/test-feed'] = array(
diff --git a/modules/block/block.install b/modules/block/block.install
index f19fd306e..6090e0835 100644
--- a/modules/block/block.install
+++ b/modules/block/block.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function block_schema() {
$schema['block'] = array(
@@ -174,7 +174,7 @@ function block_schema() {
}
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function block_install() {
drupal_install_schema('block');
@@ -191,7 +191,7 @@ function block_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function block_uninstall() {
drupal_uninstall_schema('block');
diff --git a/modules/block/block.module b/modules/block/block.module
index 4e7cc6270..59a84ff92 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -61,7 +61,7 @@ define('BLOCK_CACHE_PER_PAGE', 0x0004);
define('BLOCK_CACHE_GLOBAL', 0x0008);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function block_help($path, $arg) {
switch ($path) {
@@ -88,7 +88,7 @@ function block_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function block_theme() {
return array(
@@ -105,7 +105,7 @@ function block_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function block_perm() {
return array(
@@ -117,7 +117,7 @@ function block_perm() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function block_menu() {
$items['admin/build/block'] = array(
@@ -180,7 +180,7 @@ function _block_themes_access($theme) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function block_block_list() {
$blocks = array();
@@ -195,7 +195,7 @@ function block_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function block_block_configure($delta = 0, $edit = array()) {
$box = array('format' => FILTER_FORMAT_DEFAULT);
@@ -206,14 +206,14 @@ function block_block_configure($delta = 0, $edit = array()) {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function block_block_save($delta = 0, $edit = array()) {
block_box_save($edit, $delta);
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Generates the administrator-defined blocks for display.
*/
@@ -224,7 +224,7 @@ function block_block_view($delta = 0, $edit = array()) {
}
/**
- * Implementation of hook_page_alter().
+ * Implement hook_page_alter().
*
* Render blocks into their regions.
*/
@@ -399,7 +399,7 @@ function block_box_save($edit, $delta) {
}
/**
- * Implementation of hook_user_form().
+ * Implement hook_user_form().
*/
function block_user_form(&$edit, &$account, $category = NULL) {
if ($category == 'account') {
@@ -421,7 +421,7 @@ function block_user_form(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_user_validate().
+ * Implement hook_user_validate().
*/
function block_user_validate(&$edit, &$account, $category = NULL) {
if (empty($edit['block'])) {
@@ -431,7 +431,7 @@ function block_user_validate(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function block_form_system_performance_settings_alter(&$form, &$form_state) {
@@ -470,7 +470,7 @@ function block_form_system_performance_settings_alter(&$form, &$form_state) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function block_form_system_themes_form_alter(&$form, &$form_state) {
$form['#submit'][] = 'block_system_themes_form_submit';
@@ -722,7 +722,7 @@ function _block_get_cache_id($block) {
}
/**
- * Implementation of hook_flush_caches().
+ * Implement hook_flush_caches().
*/
function block_flush_caches() {
return array('cache_block');
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 422237cb9..c5fd506cd 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_node_info().
+ * Implement hook_node_info().
*/
function blog_node_info() {
return array(
@@ -20,14 +20,14 @@ function blog_node_info() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function blog_perm() {
return node_list_permissions('blog');
}
/**
- * Implementation of hook_access().
+ * Implement hook_access().
*/
function blog_access($op, $node, $account) {
switch ($op) {
@@ -42,7 +42,7 @@ function blog_access($op, $node, $account) {
}
/**
- * Implementation of hook_user_view().
+ * Implement hook_user_view().
*/
function blog_user_view(&$edit, &$user, $category) {
if (user_access('create blog content', $user)) {
@@ -56,7 +56,7 @@ function blog_user_view(&$edit, &$user, $category) {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function blog_help($path, $arg) {
switch ($path) {
@@ -70,7 +70,7 @@ function blog_help($path, $arg) {
}
/**
- * Implementation of hook_form().
+ * Implement hook_form().
*/
function blog_form($node, $form_state) {
global $nid;
@@ -82,7 +82,7 @@ function blog_form($node, $form_state) {
}
/**
- * Implementation of hook_view().
+ * Implement hook_view().
*/
function blog_view($node, $teaser) {
if ((bool)menu_get_object()) {
@@ -94,7 +94,7 @@ function blog_view($node, $teaser) {
}
/**
- * Implementation of hook_node_view.
+ * Implement hook_node_view.
*/
function blog_node_view($node, $teaser = FALSE) {
if ($node->build_mode != NODE_BUILD_RSS) {
@@ -113,7 +113,7 @@ function blog_node_view($node, $teaser = FALSE) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function blog_menu() {
$items['blog'] = array(
@@ -173,7 +173,7 @@ function _blog_post_exists($account) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function blog_block_list() {
$block['recent']['info'] = t('Recent blog posts');
@@ -181,7 +181,7 @@ function blog_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Displays the most recent 10 blog titles.
*/
diff --git a/modules/blogapi/blogapi.install b/modules/blogapi/blogapi.install
index 22820ea4a..2e1129c7d 100644
--- a/modules/blogapi/blogapi.install
+++ b/modules/blogapi/blogapi.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function blogapi_install() {
// Create tables.
@@ -15,7 +15,7 @@ function blogapi_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function blogapi_uninstall() {
// Remove tables.
@@ -24,7 +24,7 @@ function blogapi_uninstall() {
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function blogapi_schema() {
$schema['blogapi_files'] = array(
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index cf66d4a06..8f6f36099 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function blogapi_help($path, $arg) {
switch ($path) {
@@ -21,7 +21,7 @@ function blogapi_help($path, $arg) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function blogapi_perm() {
return array(
@@ -33,7 +33,7 @@ function blogapi_perm() {
}
/**
- * Implementation of hook_xmlrpc().
+ * Implement hook_xmlrpc().
*/
function blogapi_xmlrpc() {
return array(
@@ -809,7 +809,7 @@ function blogapi_admin_settings() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function blogapi_menu() {
$items['blogapi/rsd'] = array(
@@ -831,7 +831,7 @@ function blogapi_menu() {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function blogapi_init() {
if (drupal_is_front_page()) {
diff --git a/modules/book/book.install b/modules/book/book.install
index 2b1b57de0..3dc117282 100644
--- a/modules/book/book.install
+++ b/modules/book/book.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function book_install() {
// Create tables.
@@ -17,7 +17,7 @@ function book_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function book_uninstall() {
// Delete menu links.
@@ -252,7 +252,7 @@ function book_update_6000() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function book_schema() {
$schema['book'] = array(
diff --git a/modules/book/book.module b/modules/book/book.module
index 57e7be588..e14510480 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function book_theme() {
return array(
@@ -37,7 +37,7 @@ function book_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function book_perm() {
return array(
@@ -96,7 +96,7 @@ function book_node_view_link($node, $teaser) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function book_menu() {
$items['admin/content/book'] = array(
@@ -178,14 +178,14 @@ function _book_outline_remove_access($node) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function book_init() {
drupal_add_css(drupal_get_path('module', 'book') . '/book.css');
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function book_block_list() {
$block = array();
@@ -196,7 +196,7 @@ function book_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Displays the book table of contents in a block when the current page is a
* single-node view of a book node.
@@ -249,7 +249,7 @@ function book_block_view($delta = '') {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function book_block_configure($delta = '') {
$block = array();
@@ -269,7 +269,7 @@ function book_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function book_block_save($delta = '', $edit = array()) {
$block = array();
@@ -326,7 +326,7 @@ function book_get_books() {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*
* Adds the book fieldset to the node form.
*
@@ -690,7 +690,7 @@ function book_menu_name($bid) {
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function book_node_load($nodes, $types) {
$result = db_query("SELECT * FROM {book} b INNER JOIN {menu_links} ml ON b.mlid = ml.mlid WHERE b.nid IN (:nids)", array(':nids' => array_keys($nodes)), array('fetch' => PDO::FETCH_ASSOC));
@@ -703,7 +703,7 @@ function book_node_load($nodes, $types) {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function book_node_view($node, $teaser) {
if (!$teaser) {
@@ -721,7 +721,7 @@ function book_node_view($node, $teaser) {
}
/**
- * Implementation of hook_page_alter().
+ * Implement hook_page_alter().
*
* Add the book menu to the list of menus used to build the active trail when
* viewing a book page.
@@ -735,7 +735,7 @@ function book_page_alter(&$page) {
}
/**
- * Implementation of hook_node_presave().
+ * Implement hook_node_presave().
*/
function book_node_presave($node) {
// Always save a revision for non-administrators.
@@ -753,7 +753,7 @@ function book_node_presave($node) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function book_node_insert($node) {
if (!empty($node->book['bid'])) {
@@ -768,7 +768,7 @@ function book_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function book_node_update($node) {
if (!empty($node->book['bid'])) {
@@ -783,7 +783,7 @@ function book_node_update($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function book_node_delete($node) {
if (!empty($node->book['bid'])) {
@@ -806,7 +806,7 @@ function book_node_delete($node) {
}
/**
- * Implementation of hook_node_prepare().
+ * Implement hook_node_prepare().
*/
function book_node_prepare($node) {
// Prepare defaults for the add/edit form.
@@ -1065,7 +1065,7 @@ function book_type_is_allowed($type) {
}
/**
- * Implementation of hook_node_type().
+ * Implement hook_node_type().
*
* Update book module's persistent variables if the machine-readable name of a
* node type is changed.
@@ -1094,7 +1094,7 @@ function book_node_type($op, $type) {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function book_help($path, $arg) {
switch ($path) {
diff --git a/modules/color/color.module b/modules/color/color.module
index a9e1b6ea6..d08dc25a1 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function color_help($path, $arg) {
switch ($path) {
@@ -17,7 +17,7 @@ function color_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function color_theme() {
return array(
@@ -28,7 +28,7 @@ function color_theme() {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function color_form_system_theme_settings_alter(&$form, &$form_state) {
if (color_get_info(arg(4)) && function_exists('gd_info')) {
@@ -52,14 +52,14 @@ function color_form_system_theme_settings_alter(&$form, &$form_state) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function color_form_system_themes_alter(&$form, &$form_state) {
_color_theme_select_form_alter($form, $form_state);
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function color_form_system_theme_select_form_alter(&$form, &$form_state) {
_color_theme_select_form_alter($form, $form_state);
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index 1f4767af9..fd227065b 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function comment_install() {
// Create tables.
@@ -15,7 +15,7 @@ function comment_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function comment_uninstall() {
// Remove tables.
@@ -38,7 +38,7 @@ function comment_uninstall() {
}
/**
- * Implementation of hook_enable().
+ * Implement hook_enable().
*/
function comment_enable() {
// Insert records into the node_comment_statistics for nodes that are missing.
@@ -159,7 +159,7 @@ function comment_update_7002() {
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function comment_schema() {
$schema['comment'] = array(
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 8ea8e91cf..5fd1edd6f 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -91,7 +91,7 @@ define('COMMENT_PREVIEW_OPTIONAL', 0);
define('COMMENT_PREVIEW_REQUIRED', 1);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function comment_help($path, $arg) {
switch ($path) {
@@ -105,7 +105,7 @@ function comment_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function comment_theme() {
return array(
@@ -155,7 +155,7 @@ function comment_theme() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function comment_menu() {
$items['admin/content/comment'] = array(
@@ -208,7 +208,7 @@ function comment_menu() {
}
/**
- * Implementation of hook_node_type().
+ * Implement hook_node_type().
*/
function comment_node_type($op, $info) {
$settings = array(
@@ -231,7 +231,7 @@ function comment_node_type($op, $info) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function comment_perm() {
return array(
@@ -255,7 +255,7 @@ function comment_perm() {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function comment_block_list() {
$blocks['recent']['info'] = t('Recent comments');
@@ -264,7 +264,7 @@ function comment_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function comment_block_configure($delta = '') {
$form['comment_block_count'] = array(
@@ -279,14 +279,14 @@ function comment_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function comment_block_save($delta = '', $edit = array()) {
variable_set('comment_block_count', (int)$edit['comment_block_count']);
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Generates a block with the most recent comments.
*/
@@ -504,7 +504,7 @@ function comment_node_view($node, $teaser) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function comment_form_node_type_form_alter(&$form, $form_state) {
if (isset($form['identity']['type'])) {
@@ -574,7 +574,7 @@ function comment_form_node_type_form_alter(&$form, $form_state) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*/
function comment_form_alter(&$form, $form_state, $form_id) {
if (!empty($form['#node_edit_form'])) {
@@ -639,7 +639,7 @@ function comment_form_alter(&$form, $form_state, $form_id) {
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function comment_node_load($nodes, $types) {
$comments_enabled = array();
@@ -670,7 +670,7 @@ function comment_node_load($nodes, $types) {
}
/**
- * Implementation of hook_node_prepare().
+ * Implement hook_node_prepare().
*/
function comment_node_prepare($node) {
if (!isset($node->comment)) {
@@ -679,7 +679,7 @@ function comment_node_prepare($node) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function comment_node_insert($node) {
db_insert('node_comment_statistics')
@@ -694,7 +694,7 @@ function comment_node_insert($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function comment_node_delete($node) {
db_delete('comment')
@@ -706,7 +706,7 @@ function comment_node_delete($node) {
}
/**
- * Implementation of hook_node_update_index().
+ * Implement hook_node_update_index().
*/
function comment_node_update_index($node) {
$text = '';
@@ -723,7 +723,7 @@ function comment_node_update_index($node) {
}
/**
- * Implementation of hook_update_index().
+ * Implement hook_update_index().
*/
function comment_update_index() {
// Store the maximum possible comments per thread (used for ranking by reply count)
@@ -731,7 +731,7 @@ function comment_update_index() {
}
/**
- * Implementation of hook_node_search_result().
+ * Implement hook_node_search_result().
*/
function comment_node_search_result($node) {
if ($node->comment != COMMENT_NODE_HIDDEN) {
@@ -742,7 +742,7 @@ function comment_node_search_result($node) {
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function comment_user_cancel($edit, $account, $method) {
switch ($method) {
@@ -959,7 +959,7 @@ function comment_save($edit) {
}
/**
- * Implementation of hook_link().
+ * Implement hook_link().
*/
function comment_link($type, $object, $teaser) {
if ($type == 'comment') {
@@ -2142,7 +2142,7 @@ function vancode2int($c = '00') {
}
/**
- * Implementation of hook_hook_info().
+ * Implement hook_hook_info().
*/
function comment_hook_info() {
return array(
@@ -2166,7 +2166,7 @@ function comment_hook_info() {
}
/**
- * Implementation of hook_action_info().
+ * Implement hook_action_info().
*/
function comment_action_info() {
return array(
@@ -2237,7 +2237,7 @@ function comment_unpublish_by_keyword_action_submit($form, $form_state) {
}
/**
- * Implementation of a configurable Drupal action.
+ * Implement a configurable Drupal action.
*
* Unpublish a comment if it contains a certain string.
*
@@ -2262,7 +2262,7 @@ function comment_unpublish_by_keyword_action($comment, $context) {
}
/**
- * Implementation of hook_ranking().
+ * Implement hook_ranking().
*/
function comment_ranking() {
return array(
diff --git a/modules/contact/contact.install b/modules/contact/contact.install
index dc0d210cc..929cc54fa 100644
--- a/modules/contact/contact.install
+++ b/modules/contact/contact.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function contact_install() {
// Create tables.
@@ -15,7 +15,7 @@ function contact_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function contact_uninstall() {
// Remove tables.
@@ -27,7 +27,7 @@ function contact_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function contact_schema() {
$schema['contact'] = array(
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index 6a2cc1860..b575b7259 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function contact_help($path, $arg) {
switch ($path) {
@@ -33,7 +33,7 @@ function contact_help($path, $arg) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function contact_perm() {
return array(
@@ -49,7 +49,7 @@ function contact_perm() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function contact_menu() {
$items['admin/build/contact'] = array(
@@ -137,7 +137,7 @@ function contact_load($cid) {
}
/**
- * Implementation of hook_user_form().
+ * Implement hook_user_form().
*/
function contact_user_form(&$edit, &$user, $category = NULL) {
if ($category == 'account') {
@@ -156,21 +156,21 @@ function contact_user_form(&$edit, &$user, $category = NULL) {
}
/**
- * Implementation of hook_user_insert().
+ * Implement hook_user_insert().
*/
function contact_user_insert(&$edit, &$user, $category = NULL) {
$edit['contact'] = variable_get('contact_default_status', 1);
}
/**
- * Implementation of hook_user_validate().
+ * Implement hook_user_validate().
*/
function contact_user_validate(&$edit, &$user, $category = NULL) {
return array('contact' => isset($edit['contact']) ? $edit['contact'] : FALSE);
}
/**
- * Implementation of hook_mail().
+ * Implement hook_mail().
*/
function contact_mail($key, &$message, $params) {
$language = $message['language'];
diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc
index ace38c616..945a85a0e 100644
--- a/modules/dblog/dblog.admin.inc
+++ b/modules/dblog/dblog.admin.inc
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function dblog_form_system_logging_settings_alter(&$form, $form_state) {
$form['dblog_row_limit'] = array(
diff --git a/modules/dblog/dblog.install b/modules/dblog/dblog.install
index 3c9afb61d..717be592c 100644
--- a/modules/dblog/dblog.install
+++ b/modules/dblog/dblog.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function dblog_install() {
// Create tables.
@@ -15,7 +15,7 @@ function dblog_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function dblog_uninstall() {
// Remove tables.
@@ -23,7 +23,7 @@ function dblog_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function dblog_schema() {
$schema['watchdog'] = array(
diff --git a/modules/dblog/dblog.module b/modules/dblog/dblog.module
index 44729e455..761d76acf 100644
--- a/modules/dblog/dblog.module
+++ b/modules/dblog/dblog.module
@@ -13,7 +13,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function dblog_help($path, $arg) {
switch ($path) {
@@ -28,7 +28,7 @@ function dblog_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function dblog_theme() {
return array(
@@ -39,7 +39,7 @@ function dblog_theme() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function dblog_menu() {
$items['admin/reports/dblog'] = array(
@@ -83,7 +83,7 @@ function dblog_init() {
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*
* Remove expired log messages and flood control events.
*/
@@ -96,7 +96,7 @@ function dblog_cron() {
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function dblog_user_cancel($edit, $account, $method) {
switch ($method) {
@@ -127,7 +127,7 @@ function _dblog_get_message_types() {
}
/**
- * Implementation of hook_watchdog().
+ * Implement hook_watchdog().
*
* Note some values may be truncated for database column size restrictions.
*/
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 82710c70e..c0b1ac879 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -702,7 +702,7 @@ function _field_attach_preprocess($obj_type, &$object) {
}
/**
- * Implementation of hook_node_prepare_translation.
+ * Implement hook_node_prepare_translation.
*
* TODO D7: We do not yet know if this really belongs in Field API.
*/
diff --git a/modules/field/field.autoload.inc b/modules/field/field.autoload.inc
index 3ea8754cd..b7b026d79 100644
--- a/modules/field/field.autoload.inc
+++ b/modules/field/field.autoload.inc
@@ -292,7 +292,7 @@ function field_attach_preprocess($obj_type, &$object) {
}
/**
- * Implementation of hook_node_prepare_translation.
+ * Implement hook_node_prepare_translation.
*
* TODO D7: We do not yet know if this really belongs in Field API.
*
diff --git a/modules/field/field.install b/modules/field/field.install
index 539f120d3..b13db7514 100644
--- a/modules/field/field.install
+++ b/modules/field/field.install
@@ -7,14 +7,14 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function field_install() {
drupal_install_schema('field');
}
/**
- * Implementation of hook_schema.
+ * Implement hook_schema.
*/
function field_schema() {
// Static (meta) tables.
diff --git a/modules/field/field.module b/modules/field/field.module
index 11795afa1..c86ac521f 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -88,14 +88,14 @@ define('FIELD_LOAD_REVISION', 'FIELD_LOAD_REVISION');
class FieldException extends Exception {}
/**
- * Implementation of hook_flush_caches.
+ * Implement hook_flush_caches.
*/
function field_flush_caches() {
return array('cache_field');
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function field_help($path, $arg) {
switch ($path) {
@@ -107,7 +107,7 @@ function field_help($path, $arg) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*
* TODO D7: Determine which functions need to always be "loaded", and
* put autoloaders for them into field.autoload.inc. Also figure out
@@ -120,7 +120,7 @@ function field_init() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function field_menu() {
$items = array();
@@ -136,7 +136,7 @@ function field_menu() {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function field_theme() {
$path = drupal_get_path('module', 'field') . '/theme';
@@ -161,14 +161,14 @@ function field_theme() {
}
/**
- * Implementation of hook_modules_installed().
+ * Implement hook_modules_installed().
*/
function field_modules_installed($modules) {
field_cache_clear();
}
/**
- * Implementation of hook_modules_uninstalled().
+ * Implement hook_modules_uninstalled().
*/
function field_modules_uninstalled($modules) {
module_load_include('inc', 'field', 'field.crud');
@@ -179,7 +179,7 @@ function field_modules_uninstalled($modules) {
}
/**
- * Implementation of hook_modules_enabled().
+ * Implement hook_modules_enabled().
*/
function field_modules_enabled($modules) {
foreach ($modules as $module) {
@@ -189,7 +189,7 @@ function field_modules_enabled($modules) {
}
/**
- * Implementation of hook_modules_disabled().
+ * Implement hook_modules_disabled().
*/
function field_modules_disabled($modules) {
foreach ($modules as $module) {
diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.install b/modules/field/modules/field_sql_storage/field_sql_storage.install
index b31a94539..450029e4b 100644
--- a/modules/field/modules/field_sql_storage/field_sql_storage.install
+++ b/modules/field/modules/field_sql_storage/field_sql_storage.install
@@ -7,21 +7,21 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function field_sql_storage_install() {
drupal_install_schema('field_sql_storage');
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function field_sql_storage_uninstall() {
drupal_uninstall_schema('field_sql_storage');
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function field_sql_storage_schema() {
$schema = array();
diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.module b/modules/field/modules/field_sql_storage/field_sql_storage.module
index 51a82308a..add36edf1 100644
--- a/modules/field/modules/field_sql_storage/field_sql_storage.module
+++ b/modules/field/modules/field_sql_storage/field_sql_storage.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function field_sql_storage_help($path, $arg) {
switch ($path) {
@@ -177,7 +177,7 @@ function _field_sql_storage_schema($field) {
}
/**
- * Implementation of hook_field_storage_create_field().
+ * Implement hook_field_storage_create_field().
*/
function field_sql_storage_field_storage_create_field($field) {
$schema = _field_sql_storage_schema($field);
@@ -187,7 +187,7 @@ function field_sql_storage_field_storage_create_field($field) {
}
/**
- * Implementation of hook_field_storage_delete_field().
+ * Implement hook_field_storage_delete_field().
*/
function field_sql_storage_field_storage_delete_field($field_name) {
// Mark all data associated with the field for deletion.
@@ -198,7 +198,7 @@ function field_sql_storage_field_storage_delete_field($field_name) {
}
/**
- * Implementation of hook_field_storage_load().
+ * Implement hook_field_storage_load().
*/
function field_sql_storage_field_storage_load($obj_type, &$objects, $age, $skip_fields = array()) {
$etid = _field_sql_storage_etid($obj_type);
@@ -248,7 +248,7 @@ function field_sql_storage_field_storage_load($obj_type, &$objects, $age, $skip_
}
/**
- * Implementation of hook_field_storage_write().
+ * Implement hook_field_storage_write().
*/
function field_sql_storage_field_storage_write($obj_type, $object, $op, $skip_fields) {
list($id, $vid, $bundle) = field_attach_extract_ids($obj_type, $object);
@@ -323,7 +323,7 @@ function field_sql_storage_field_storage_write($obj_type, $object, $op, $skip_fi
}
/**
- * Implementation of hook_field_storage_delete().
+ * Implement hook_field_storage_delete().
*
* This function actually deletes the data from the database.
*/
@@ -348,7 +348,7 @@ function field_sql_storage_field_storage_delete($obj_type, $object) {
}
/**
- * Implementation of hook_field_storage_delete_revision().
+ * Implement hook_field_storage_delete_revision().
*
* This function actually deletes the data from the database.
*/
@@ -371,7 +371,7 @@ function field_sql_storage_field_storage_delete_revision($obj_type, $object) {
}
/**
- * Implementation of hook_field_storage_delete_instance().
+ * Implement hook_field_storage_delete_instance().
*
* This function simply marks for deletion all data associated with the field.
*/
@@ -389,7 +389,7 @@ function field_sql_storage_field_storage_delete_instance($field_name, $bundle) {
}
/**
- * Implementation of hook_field_storage_rename_bundle().
+ * Implement hook_field_storage_rename_bundle().
*/
function field_sql_storage_field_storage_rename_bundle($bundle_old, $bundle_new) {
$instances = field_info_instances($bundle_old);
diff --git a/modules/field/modules/list/list.module b/modules/field/modules/list/list.module
index 615165f41..6ad2fbcd3 100644
--- a/modules/field/modules/list/list.module
+++ b/modules/field/modules/list/list.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function list_theme() {
return array(
@@ -21,7 +21,7 @@ function list_theme() {
}
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*/
function list_field_info() {
return array(
@@ -57,7 +57,7 @@ function list_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function list_field_schema($field) {
switch ($field['type']) {
@@ -98,7 +98,7 @@ function list_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'list_illegal_value': The value is not part of the list of allowed values.
@@ -118,7 +118,7 @@ function list_field_validate($obj_type, $object, $field, $instance, $items, &$er
}
/**
- * Implementation of hook_field_is_empty().
+ * Implement hook_field_is_empty().
*/
function list_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
@@ -128,7 +128,7 @@ function list_field_is_empty($item, $field) {
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function list_field_formatter_info() {
return array(
diff --git a/modules/field/modules/number/number.module b/modules/field/modules/number/number.module
index 34bfd9eae..15daaa504 100644
--- a/modules/field/modules/number/number.module
+++ b/modules/field/modules/number/number.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function number_theme() {
return array(
@@ -19,7 +19,7 @@ function number_theme() {
}
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*/
function number_field_info() {
return array(
@@ -49,7 +49,7 @@ function number_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function number_field_schema($field) {
switch ($field['type']) {
@@ -88,7 +88,7 @@ function number_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'number_min': The value is smaller than the allowed minimum value.
@@ -114,7 +114,7 @@ function number_field_validate($obj_type, $node, $field, $instance, $items, &$er
}
/**
- * Implementation of hook_content_is_empty().
+ * Implement hook_content_is_empty().
*/
function number_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
@@ -124,7 +124,7 @@ function number_field_is_empty($item, $field) {
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function number_field_formatter_info() {
return array(
@@ -199,7 +199,7 @@ function theme_field_formatter_number($element) {
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* Here we indicate that the Field module will handle
* multiple values for these widgets.
@@ -223,7 +223,7 @@ function number_field_widget_info() {
}
/**
- * Implementation of FAPI hook_elements().
+ * Implement FAPI hook_elements().
*
* Any FAPI callbacks needed for individual widgets can be declared here,
* and the element will be passed to those callbacks for processing.
@@ -245,7 +245,7 @@ function number_elements() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*
* Attach a single form element to the form. It will be built out and
* validated in the callback(s) listed in hook_elements. We build it
@@ -282,7 +282,7 @@ function number_field_widget(&$form, &$form_state, $field, $instance, $items, $d
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function number_field_widget_error($element, $error) {
form_error($element['value'], $error['message']);
diff --git a/modules/field/modules/options/options.module b/modules/field/modules/options/options.module
index 686a3ce28..05f02d1ba 100644
--- a/modules/field/modules/options/options.module
+++ b/modules/field/modules/options/options.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function options_theme() {
return array(
@@ -27,7 +27,7 @@ function options_theme() {
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* We need custom handling of multiple values because we need
* to combine them into a options list rather than display
@@ -70,7 +70,7 @@ function options_field_widget_info() {
}
/**
- * Implementation of FAPI hook_elements().
+ * Implement FAPI hook_elements().
*
* Any FAPI callbacks needed for individual widgets can be declared here,
* and the element will be passed to those callbacks for processing.
@@ -99,7 +99,7 @@ function options_elements() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*/
function options_field_widget(&$form, &$form_state, $field, $instance, $items, $delta = NULL) {
$element = array(
@@ -110,7 +110,7 @@ function options_field_widget(&$form, &$form_state, $field, $instance, $items, $
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function options_field_widget_error($element, $error) {
$field_key = $element['#columns'][0];
diff --git a/modules/field/modules/text/text.module b/modules/field/modules/text/text.module
index a5cd9f35b..709c31185 100644
--- a/modules/field/modules/text/text.module
+++ b/modules/field/modules/text/text.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function text_theme() {
return array(
@@ -30,7 +30,7 @@ function text_theme() {
}
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*/
function text_field_info() {
return array(
@@ -55,7 +55,7 @@ function text_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function text_field_schema($field) {
if ($field['type'] == 'text_long') {
@@ -92,7 +92,7 @@ function text_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'text_max_length': The value exceeds the maximum length.
@@ -126,7 +126,7 @@ function text_field_sanitize($obj_type, $object, $field, $instance, &$items) {
}
/**
- * Implementation of hook_field_is_empty().
+ * Implement hook_field_is_empty().
*/
function text_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
@@ -136,7 +136,7 @@ function text_field_is_empty($item, $field) {
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function text_field_formatter_info() {
return array(
@@ -188,7 +188,7 @@ function theme_field_formatter_text_trimmed($element) {
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* Here we indicate that the field module will handle
* the default value and multiple values for these widgets.
@@ -222,7 +222,7 @@ function text_field_widget_info() {
}
/**
- * Implementation of FAPI hook_elements().
+ * Implement FAPI hook_elements().
*
* Any FAPI callbacks needed for individual widgets can be declared here,
* and the element will be passed to those callbacks for processing.
@@ -251,7 +251,7 @@ function text_elements() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*
* Attach a single form element to the form. It will be built out and
* validated in the callback(s) listed in hook_elements. We build it
@@ -291,7 +291,7 @@ function text_field_widget(&$form, &$form_state, $field, $instance, $items, $del
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function text_field_widget_error($element, $error) {
form_error($element['value'], $error['message']);
diff --git a/modules/filter/filter.install b/modules/filter/filter.install
index bff60eff6..a8cf35f48 100644
--- a/modules/filter/filter.install
+++ b/modules/filter/filter.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function filter_schema() {
$schema['filter'] = array(
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 4e5907267..37ea4ba22 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -15,7 +15,7 @@
define('FILTER_FORMAT_DEFAULT', 0);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function filter_help($path, $arg) {
switch ($path) {
@@ -41,7 +41,7 @@ function filter_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function filter_theme() {
return array(
@@ -67,7 +67,7 @@ function filter_theme() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function filter_menu() {
$items['admin/settings/filter'] = array(
@@ -145,7 +145,7 @@ function filter_admin_format_title($format) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function filter_perm() {
return array(
@@ -157,7 +157,7 @@ function filter_perm() {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*
* Expire outdated filter cache entries
*/
@@ -166,7 +166,7 @@ function filter_cron() {
}
/**
- * Implementation of hook_filter_tips().
+ * Implement hook_filter_tips().
*/
function filter_filter_tips($delta, $format, $long = FALSE) {
global $base_url;
@@ -594,7 +594,7 @@ function theme_filter_guidelines($format) {
*/
/**
- * Implementation of hook_filter(). Contains a basic set of essential filters.
+ * Implement hook_filter(). Contains a basic set of essential filters.
* - HTML filter:
* Validates user-supplied HTML, transforming it as necessary.
* - Line break converter:
diff --git a/modules/forum/forum.admin.inc b/modules/forum/forum.admin.inc
index d02ee0bd4..39352c105 100644
--- a/modules/forum/forum.admin.inc
+++ b/modules/forum/forum.admin.inc
@@ -170,7 +170,7 @@ function forum_confirm_delete(&$form_state, $tid) {
}
/**
- * Implementation of forms api _submit call. Deletes a forum after confirmation.
+ * Implement forms api _submit call. Deletes a forum after confirmation.
*/
function forum_confirm_delete_submit($form, &$form_state) {
taxonomy_term_delete($form_state['values']['tid']);
diff --git a/modules/forum/forum.install b/modules/forum/forum.install
index 2d2e1a9bd..060969862 100644
--- a/modules/forum/forum.install
+++ b/modules/forum/forum.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function forum_install() {
// Create tables.
@@ -45,7 +45,7 @@ function forum_enable() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function forum_uninstall() {
// Load the dependent Taxonomy module, in case it has been disabled.
@@ -66,7 +66,7 @@ function forum_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function forum_schema() {
$schema['forum'] = array(
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 240c0b60a..69e0fad58 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function forum_help($path, $arg) {
switch ($path) {
@@ -33,7 +33,7 @@ function forum_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function forum_theme() {
return array(
@@ -79,7 +79,7 @@ function forum_term_load($tid) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function forum_menu() {
$items['forum'] = array(
@@ -149,7 +149,7 @@ function forum_menu() {
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function forum_init() {
drupal_add_css(drupal_get_path('module', 'forum') . '/forum.css');
@@ -181,7 +181,7 @@ function _forum_node_check_node_type($node, $vocabulary) {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function forum_node_view($node, $teaser) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -219,7 +219,7 @@ function forum_node_view($node, $teaser) {
}
/**
- * Implementation of hook_node_prepare().
+ * Implement hook_node_prepare().
*/
function forum_node_prepare($node) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -236,7 +236,7 @@ function forum_node_prepare($node) {
}
/**
- * Implementation of hook_node_validate().
+ * Implement hook_node_validate().
*
* Check in particular that only a "leaf" term in the associated taxonomy.
*/
@@ -262,7 +262,7 @@ function forum_node_validate($node, $form) {
}
/**
- * Implementation of hook_node_presave().
+ * Implement hook_node_presave().
*
* Assign forum taxonomy when adding a topic from within a forum.
*/
@@ -293,7 +293,7 @@ function forum_node_presave($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function forum_node_update($node) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -317,7 +317,7 @@ function forum_node_update($node) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function forum_node_insert($node) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -330,7 +330,7 @@ function forum_node_insert($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function forum_node_delete($node) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -341,7 +341,7 @@ function forum_node_delete($node) {
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function forum_node_load($nodes, $types) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -366,7 +366,7 @@ function forum_node_load($nodes, $types) {
}
/**
- * Implementation of hook_node_info().
+ * Implement hook_node_info().
*/
function forum_node_info() {
return array(
@@ -380,7 +380,7 @@ function forum_node_info() {
}
/**
- * Implementation of hook_access().
+ * Implement hook_access().
*/
function forum_access($op, $node, $account) {
switch ($op) {
@@ -394,7 +394,7 @@ function forum_access($op, $node, $account) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function forum_perm() {
$perms = array(
@@ -408,7 +408,7 @@ function forum_perm() {
}
/**
- * Implementation of hook_taxonomy().
+ * Implement hook_taxonomy().
*/
function forum_taxonomy($op, $type, $term = NULL) {
if ($op == 'delete' && $term['vid'] == variable_get('forum_nav_vocabulary', '')) {
@@ -435,7 +435,7 @@ function forum_taxonomy($op, $type, $term = NULL) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*/
function forum_form_alter(&$form, $form_state, $form_id) {
$vid = variable_get('forum_nav_vocabulary', '');
@@ -468,7 +468,7 @@ function forum_form_alter(&$form, $form_state, $form_id) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function forum_block_list() {
$blocks['active']['info'] = t('Active forum topics');
@@ -477,7 +477,7 @@ function forum_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function forum_block_configure($delta = '') {
$form['forum_block_num_' . $delta] = array('#type' => 'select', '#title' => t('Number of topics'), '#default_value' => variable_get('forum_block_num_' . $delta, '5'), '#options' => drupal_map_assoc(array(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)));
@@ -485,14 +485,14 @@ function forum_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function forum_block_save($delta = '', $edit = array()) {
variable_set('forum_block_num_' . $delta, $edit['forum_block_num_' . $delta]);
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Generates a block containing the currently active forum topics and the
* most recently added forum topics.
@@ -536,7 +536,7 @@ function forum_block_view($delta = '') {
}
/**
- * Implementation of hook_form().
+ * Implement hook_form().
*/
function forum_form($node, $form_state) {
$type = node_get_types('type', $node);
@@ -559,7 +559,7 @@ function forum_form($node, $form_state) {
}
/**
- * Implementation of hook_term_path().
+ * Implement hook_term_path().
*/
function forum_term_path($term) {
return 'forum/' . $term->tid;
diff --git a/modules/help/help.module b/modules/help/help.module
index 00a9b9a34..0d0c28ca4 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function help_menu() {
$items['admin/help'] = array(
@@ -31,7 +31,7 @@ function help_menu() {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function help_help($path, $arg) {
switch ($path) {
diff --git a/modules/locale/locale.install b/modules/locale/locale.install
index 3eac012f3..ec8683f42 100644
--- a/modules/locale/locale.install
+++ b/modules/locale/locale.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function locale_install() {
// locales_source.source and locales_target.target are not used as binary
@@ -221,7 +221,7 @@ function locale_update_6005() {
*/
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function locale_uninstall() {
// Delete all JavaScript translation files.
@@ -259,7 +259,7 @@ function locale_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function locale_schema() {
$schema['languages'] = array(
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index b60366cec..ac4a96eb4 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -16,7 +16,7 @@
// Hook implementations
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function locale_help($path, $arg) {
switch ($path) {
@@ -66,7 +66,7 @@ function locale_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function locale_menu() {
// Manage languages
@@ -184,7 +184,7 @@ function locale_inc_callback() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function locale_perm() {
return array(
@@ -200,7 +200,7 @@ function locale_perm() {
}
/**
- * Implementation of hook_locale().
+ * Implement hook_locale().
*/
function locale_locale($op = 'groups') {
switch ($op) {
@@ -210,7 +210,7 @@ function locale_locale($op = 'groups') {
}
/**
- * Implementation of hook_user_register().
+ * Implement hook_user_register().
*/
function locale_user_register(&$edit, &$user, $category = NULL) {
// If we have more then one language and either creating a user on the
@@ -221,7 +221,7 @@ function locale_user_register(&$edit, &$user, $category = NULL) {
}
/**
- * Implementation of hook_user_form().
+ * Implement hook_user_form().
*/
function locale_user_form(&$edit, &$user, $category = NULL) {
// If we have more then one language and either creating a user on the
@@ -263,7 +263,7 @@ function locale_language_selector_form($user) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function locale_form_path_admin_form_alter(&$form, &$form_state) {
$form['language'] = array(
@@ -277,7 +277,7 @@ function locale_form_path_admin_form_alter(&$form, &$form_state) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function locale_form_node_type_form_alter(&$form, &$form_state) {
if (isset($form['identity']['type'])) {
@@ -292,7 +292,7 @@ function locale_form_node_type_form_alter(&$form, &$form_state) {
}
/**
- * Implementation of hook_form_alter(). Adds language fields to forms.
+ * Implement hook_form_alter(). Adds language fields to forms.
*/
function locale_form_alter(&$form, &$form_state, $form_id) {
if (isset($form['#id']) && $form['#id'] == 'node-form') {
@@ -316,7 +316,7 @@ function locale_form_alter(&$form, &$form_state, $form_id) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function locale_theme() {
return array(
@@ -518,7 +518,7 @@ function locale_system_update($components) {
}
/**
- * Implementation of hook_js_alter().
+ * Implement hook_js_alter().
*
* This function checks all JavaScript files currently added via drupal_add_js()
* and invokes parsing if they have not yet been parsed for Drupal.t()
@@ -583,7 +583,7 @@ function locale_js_alter(&$javascript) {
// Language switcher block
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function locale_block_list() {
$block['language-switcher']['info'] = t('Language switcher');
@@ -593,7 +593,7 @@ function locale_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Displays a language switcher. Translation links may be provided by other modules.
* Only show if we have at least two languages and language dependent
diff --git a/modules/locale/tests/locale_test.module b/modules/locale/tests/locale_test.module
index 047b35e93..87423f04b 100644
--- a/modules/locale/tests/locale_test.module
+++ b/modules/locale/tests/locale_test.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_locale().
+ * Implement hook_locale().
*/
function locale_test_locale($op = 'groups') {
switch ($op) {
diff --git a/modules/menu/menu.install b/modules/menu/menu.install
index 34af84afe..ae1cfda20 100644
--- a/modules/menu/menu.install
+++ b/modules/menu/menu.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function menu_install() {
// Create tables.
@@ -28,7 +28,7 @@ function menu_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function menu_uninstall() {
// Remove tables.
@@ -37,7 +37,7 @@ function menu_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function menu_schema() {
$schema['menu_custom'] = array(
diff --git a/modules/menu/menu.module b/modules/menu/menu.module
index 1f1a61a5e..dd90f8f7e 100644
--- a/modules/menu/menu.module
+++ b/modules/menu/menu.module
@@ -13,7 +13,7 @@
define('MENU_MAX_MENU_NAME_LENGTH_UI', 27);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function menu_help($path, $arg) {
switch ($path) {
@@ -35,7 +35,7 @@ function menu_help($path, $arg) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function menu_perm() {
return array(
@@ -47,7 +47,7 @@ function menu_perm() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function menu_menu() {
$items['admin/build/menu'] = array(
@@ -137,7 +137,7 @@ function menu_menu() {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function menu_theme() {
return array(
@@ -153,7 +153,7 @@ function menu_theme() {
}
/**
- * Implementation of hook_enable().
+ * Implement hook_enable().
*
* Add a link for each custom menu.
*/
@@ -266,7 +266,7 @@ function menu_reset_item($item) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function menu_block_list() {
$menus = menu_get_menus(FALSE);
@@ -283,7 +283,7 @@ function menu_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*/
function menu_block_view($delta = '') {
$menus = menu_get_menus(FALSE);
@@ -293,7 +293,7 @@ function menu_block_view($delta = '') {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function menu_node_insert($node) {
if (isset($node->menu)) {
@@ -315,7 +315,7 @@ function menu_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function menu_node_update($node) {
if (isset($node->menu)) {
@@ -337,7 +337,7 @@ function menu_node_update($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function menu_node_delete($node) {
// Delete all menu module links that point to this node.
@@ -348,7 +348,7 @@ function menu_node_delete($node) {
}
/**
- * Implementation of hook_node_prepare().
+ * Implement hook_node_prepare().
*/
function menu_node_prepare($node) {
if (empty($node->menu)) {
@@ -390,7 +390,7 @@ function _menu_parent_depth_limit($item) {
}
/**
- * Implementation of hook_form_alter(). Adds menu item fields to the node form.
+ * Implement hook_form_alter(). Adds menu item fields to the node form.
*/
function menu_form_alter(&$form, $form_state, $form_id) {
if (!empty($form['#node_edit_form'])) {
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index 2d3a0a5de..df9884724 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -222,7 +222,7 @@ function node_type_form(&$form_state, $type = NULL) {
}
/**
- * Implementation of hook_form_validate().
+ * Implement hook_form_validate().
*/
function node_type_form_validate($form, &$form_state) {
$type = new stdClass();
@@ -256,7 +256,7 @@ function node_type_form_validate($form, &$form_state) {
}
/**
- * Implementation of hook_form_submit().
+ * Implement hook_form_submit().
*/
function node_type_form_submit($form, &$form_state) {
$op = isset($form_state['values']['op']) ? $form_state['values']['op'] : '';
@@ -347,7 +347,7 @@ function node_type_form_submit($form, &$form_state) {
}
/**
- * Implementation of hook_node_type().
+ * Implement hook_node_type().
*/
function node_node_type($op, $info) {
if ($op != 'delete' && !empty($info->old_type) && $info->old_type != $info->type) {
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc
index f40d355d6..74d41146b 100644
--- a/modules/node/node.admin.inc
+++ b/modules/node/node.admin.inc
@@ -84,7 +84,7 @@ function node_configure_rebuild_confirm_submit($form, &$form_state) {
}
/**
- * Implementation of hook_node_operations().
+ * Implement hook_node_operations().
*/
function node_node_operations() {
$operations = array(
diff --git a/modules/node/node.install b/modules/node/node.install
index 486826920..c6151d262 100644
--- a/modules/node/node.install
+++ b/modules/node/node.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function node_schema() {
$schema['node'] = array(
diff --git a/modules/node/node.module b/modules/node/node.module
index 5d1ab920d..6504aa78f 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -46,7 +46,7 @@ define('NODE_BUILD_RSS', 4);
define('NODE_BUILD_PRINT', 5);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function node_help($path, $arg) {
// Remind site administrators about the {node_access} table being flagged
@@ -89,7 +89,7 @@ function node_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function node_theme() {
return array(
@@ -143,7 +143,7 @@ function node_theme() {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*/
function node_cron() {
db_delete('history')
@@ -152,7 +152,7 @@ function node_cron() {
}
/**
- * Implementation of hook_fieldable_info().
+ * Implement hook_fieldable_info().
*/
function node_fieldable_info() {
$return = array(
@@ -173,7 +173,7 @@ function node_fieldable_info() {
/**
- * Implementation of hook_field_build_modes().
+ * Implement hook_field_build_modes().
*/
function node_field_build_modes($obj_type) {
$modes = array();
@@ -1406,7 +1406,7 @@ function theme_node_log_message($log) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function node_perm() {
$perms = array(
@@ -1483,7 +1483,7 @@ function _node_rankings() {
/**
- * Implementation of hook_search().
+ * Implement hook_search().
*/
function node_search($op = 'search', $keys = NULL) {
switch ($op) {
@@ -1617,7 +1617,7 @@ function node_search($op = 'search', $keys = NULL) {
}
/**
- * Implementation of hook_ranking().
+ * Implement hook_ranking().
*/
function node_ranking() {
// Create the ranking array and add the basic ranking options.
@@ -1652,7 +1652,7 @@ function node_ranking() {
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function node_user_cancel($edit, $account, $method) {
switch ($method) {
@@ -1733,7 +1733,7 @@ function theme_node_search_admin($form) {
}
/**
- * Implementation of hook_link().
+ * Implement hook_link().
*/
function node_link($type, $node = NULL, $teaser = FALSE) {
$links = array();
@@ -1791,7 +1791,7 @@ function _node_add_access() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function node_menu() {
$items['admin/content/node'] = array(
@@ -1966,7 +1966,7 @@ function node_page_title($node) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function node_init() {
drupal_add_css(drupal_get_path('module', 'node') . '/node.css');
@@ -1990,7 +1990,7 @@ function node_revision_list($node) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function node_block_list() {
$blocks['syndicate']['info'] = t('Syndicate');
@@ -2000,7 +2000,7 @@ function node_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*/
function node_block_view($delta = '') {
$block['subject'] = t('Syndicate');
@@ -2168,7 +2168,7 @@ function node_page_view($node) {
}
/**
- * Implementation of hook_update_index().
+ * Implement hook_update_index().
*/
function node_update_index() {
$limit = (int)variable_get('search_cron_limit', 100);
@@ -2211,7 +2211,7 @@ function _node_index_node($node) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function node_form_search_form_alter(&$form, $form_state) {
if ($form['module']['#value'] == 'node' && user_access('use advanced search')) {
@@ -2590,7 +2590,7 @@ function node_access_view_all_nodes() {
}
/**
- * Implementation of hook_db_rewrite_sql().
+ * Implement hook_db_rewrite_sql().
*/
function node_db_rewrite_sql($query, $primary_table, $primary_field) {
if ($primary_field == 'nid' && !node_access_view_all_nodes()) {
@@ -2602,7 +2602,7 @@ function node_db_rewrite_sql($query, $primary_table, $primary_field) {
}
/**
- * Implementation of hook_query_TAG_alter().
+ * Implement hook_query_TAG_alter().
*/
function node_query_node_access_alter(QueryAlterableInterface $query) {
// Skip the extra expensive alterations if site has no node access control
@@ -2888,7 +2888,7 @@ function _node_access_rebuild_batch_finished($success, $results, $operations) {
*/
/**
- * Implementation of hook_access().
+ * Implement hook_access().
*
* Named so as not to conflict with node_access()
*/
@@ -2913,7 +2913,7 @@ function node_content_access($op, $node, $account) {
}
/**
- * Implementation of hook_form().
+ * Implement hook_form().
*/
function node_content_form($node, $form_state) {
$type = node_get_types('type', $node);
@@ -2940,7 +2940,7 @@ function node_content_form($node, $form_state) {
*/
/**
- * Implementation of hook_forms().
+ * Implement hook_forms().
* All node forms share the same form handler.
*/
function node_forms() {
@@ -2967,7 +2967,7 @@ function theme_node_submitted($node) {
}
/**
- * Implementation of hook_hook_info().
+ * Implement hook_hook_info().
*/
function node_hook_info() {
return array(
@@ -2994,7 +2994,7 @@ function node_hook_info() {
}
/**
- * Implementation of hook_action_info().
+ * Implement hook_action_info().
*/
function node_action_info() {
return array(
@@ -3089,7 +3089,7 @@ function node_action_info() {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Sets the status of a node to 1, meaning published.
*/
function node_publish_action($node, $context = array()) {
@@ -3098,7 +3098,7 @@ function node_publish_action($node, $context = array()) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Sets the status of a node to 0, meaning unpublished.
*/
function node_unpublish_action($node, $context = array()) {
@@ -3107,7 +3107,7 @@ function node_unpublish_action($node, $context = array()) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Sets the sticky-at-top-of-list property of a node to 1.
*/
function node_make_sticky_action($node, $context = array()) {
@@ -3116,7 +3116,7 @@ function node_make_sticky_action($node, $context = array()) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Sets the sticky-at-top-of-list property of a node to 0.
*/
function node_make_unsticky_action($node, $context = array()) {
@@ -3125,7 +3125,7 @@ function node_make_unsticky_action($node, $context = array()) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Sets the promote property of a node to 1.
*/
function node_promote_action($node, $context = array()) {
@@ -3134,7 +3134,7 @@ function node_promote_action($node, $context = array()) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Sets the promote property of a node to 0.
*/
function node_unpromote_action($node, $context = array()) {
@@ -3143,7 +3143,7 @@ function node_unpromote_action($node, $context = array()) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Saves a node.
*/
function node_save_action($node) {
@@ -3152,7 +3152,7 @@ function node_save_action($node) {
}
/**
- * Implementation of a configurable Drupal action.
+ * Implement a configurable Drupal action.
* Assigns ownership of a node to a user.
*/
function node_assign_owner_action($node, $context) {
@@ -3226,7 +3226,7 @@ function node_unpublish_by_keyword_action_submit($form, $form_state) {
}
/**
- * Implementation of a configurable Drupal action.
+ * Implement a configurable Drupal action.
* Unpublish a node if it contains a certain string.
*
* @param $context
@@ -3285,7 +3285,7 @@ function node_list_permissions($type) {
}
/**
- * Implementation of hook_elements().
+ * Implement hook_elements().
*/
function node_elements() {
$type['node_links'] = array('#theme' => 'node_links');
diff --git a/modules/node/tests/node_test.module b/modules/node/tests/node_test.module
index 27a303e06..fd0fca707 100644
--- a/modules/node/tests/node_test.module
+++ b/modules/node/tests/node_test.module
@@ -8,7 +8,7 @@
*/
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function node_test_node_view($node, $teaser) {
if ($node->build_mode == NODE_BUILD_RSS) {
@@ -35,7 +35,7 @@ function node_test_node_view($node, $teaser) {
}
/**
- * Implementation of hook_node_grants().
+ * Implement 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) {
}
/**
- * Implementation of hook_node_access_records().
+ * Implement hook_node_access_records().
*/
function node_test_node_access_records($node) {
$grants = array();
@@ -79,7 +79,7 @@ function node_test_node_access_records($node) {
}
/**
- * Implementation of hook_node_access_records_alter().
+ * Implement 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) {
}
/**
- * Implementation of hook_node_grants_alter().
+ * Implement 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/openid/openid.install b/modules/openid/openid.install
index 5e0f9d9bb..054b3b017 100644
--- a/modules/openid/openid.install
+++ b/modules/openid/openid.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function openid_install() {
// Create table.
@@ -15,7 +15,7 @@ function openid_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function openid_uninstall() {
// Remove table.
@@ -23,7 +23,7 @@ function openid_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function openid_schema() {
$schema['openid_association'] = array(
diff --git a/modules/openid/openid.module b/modules/openid/openid.module
index 3e6090493..03053333f 100644
--- a/modules/openid/openid.module
+++ b/modules/openid/openid.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function openid_menu() {
$items['openid/authenticate'] = array(
@@ -36,7 +36,7 @@ function openid_menu() {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function openid_help($path, $arg) {
switch ($path) {
@@ -57,7 +57,7 @@ function openid_help($path, $arg) {
}
/**
- * Implementation of hook_user_insert().
+ * Implement hook_user_insert().
*/
function openid_user_insert(&$edit, &$account, $category = NULL) {
if (isset($_SESSION['openid']['values'])) {
@@ -70,14 +70,14 @@ function openid_user_insert(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function openid_form_user_login_block_alter(&$form, &$form_state) {
_openid_user_login_form_alter($form, $form_state);
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function openid_form_user_login_alter(&$form, &$form_state) {
_openid_user_login_form_alter($form, $form_state);
@@ -122,7 +122,7 @@ function _openid_user_login_form_alter(&$form, &$form_state) {
}
/**
- * Implementation of hook_form_alter(). Adds OpenID login to the login forms.
+ * Implement hook_form_alter(). Adds OpenID login to the login forms.
*/
function openid_form_user_register_alter(&$form, &$form_state) {
if (isset($_SESSION['openid']['values'])) {
diff --git a/modules/openid/tests/openid_test.install b/modules/openid/tests/openid_test.install
index 6f6e319b9..ac826fd47 100644
--- a/modules/openid/tests/openid_test.install
+++ b/modules/openid/tests/openid_test.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function openid_test_install() {
module_load_include('inc', 'openid');
diff --git a/modules/openid/tests/openid_test.module b/modules/openid/tests/openid_test.module
index baaf07ce4..c84b10284 100644
--- a/modules/openid/tests/openid_test.module
+++ b/modules/openid/tests/openid_test.module
@@ -22,7 +22,7 @@
*/
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function openid_test_menu() {
$items['openid-test/yadis/xrds'] = array(
diff --git a/modules/path/path.module b/modules/path/path.module
index 525bb83dd..3edec859a 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function path_help($path, $arg) {
switch ($path) {
@@ -30,7 +30,7 @@ function path_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function path_menu() {
$items['admin/build/path'] = array(
@@ -145,7 +145,7 @@ function path_set_alias($path = NULL, $alias = NULL, $pid = NULL, $language = ''
}
/**
- * Implementation of hook_node_validate().
+ * Implement hook_node_validate().
*/
function path_node_validate($node, $form) {
if (user_access('create url aliases') || user_access('administer url aliases')) {
@@ -167,7 +167,7 @@ function path_node_validate($node, $form) {
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function path_node_load($nodes, $types) {
foreach ($nodes as $node) {
@@ -181,7 +181,7 @@ function path_node_load($nodes, $types) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function path_node_insert($node) {
if (user_access('create url aliases') || user_access('administer url aliases')) {
@@ -195,7 +195,7 @@ function path_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function path_node_update($node) {
if (user_access('create url aliases') || user_access('administer url aliases')) {
@@ -205,7 +205,7 @@ function path_node_update($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function path_node_delete($node) {
if (user_access('create url aliases') || user_access('administer url aliases')) {
@@ -218,7 +218,7 @@ function path_node_delete($node) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*/
function path_form_alter(&$form, $form_state, $form_id) {
if (!empty($form['#node_edit_form'])) {
@@ -256,7 +256,7 @@ function path_form_alter(&$form, $form_state, $form_id) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function path_perm() {
return array(
diff --git a/modules/php/php.install b/modules/php/php.install
index 6eaa0ba96..e2debe49f 100644
--- a/modules/php/php.install
+++ b/modules/php/php.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function php_install() {
$format_exists = (bool) db_query_range('SELECT 1 FROM {filter_format} WHERE name = :name', array(':name' => 'PHP code'), 0, 1)->fetchField();
@@ -39,7 +39,7 @@ function php_install() {
}
/**
- * Implementation of hook_disable().
+ * Implement hook_disable().
*/
function php_disable() {
drupal_set_message(t('The PHP module has been disabled. Please note that any existing content that was using the PHP filter will now be visible in plain text. This might pose a security risk by exposing sensitive information, if any, used in the PHP code.'));
diff --git a/modules/php/php.module b/modules/php/php.module
index cd1ea53ca..d4b4b43a0 100644
--- a/modules/php/php.module
+++ b/modules/php/php.module
@@ -8,7 +8,7 @@
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function php_help($path, $arg) {
switch ($path) {
@@ -22,7 +22,7 @@ function php_help($path, $arg) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function php_perm() {
return array(
@@ -78,7 +78,7 @@ function php_eval($code) {
}
/**
- * Implementation of hook_filter_tips().
+ * Implement hook_filter_tips().
*/
function php_filter_tips($delta, $format, $long = FALSE) {
global $base_url;
@@ -121,7 +121,7 @@ else {
}
/**
- * Implementation of hook_filter(). Contains a basic PHP evaluator.
+ * Implement hook_filter(). Contains a basic PHP evaluator.
*
* Executes PHP code. Use with care.
*/
diff --git a/modules/poll/poll.install b/modules/poll/poll.install
index 99d8954fc..38ac9fa26 100644
--- a/modules/poll/poll.install
+++ b/modules/poll/poll.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function poll_install() {
// Create tables.
@@ -15,7 +15,7 @@ function poll_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function poll_uninstall() {
// Remove tables.
@@ -23,7 +23,7 @@ function poll_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function poll_schema() {
$schema['poll'] = array(
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index b7cf2fd0d..fd7da649a 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -8,7 +8,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function poll_help($path, $arg) {
switch ($path) {
@@ -21,14 +21,14 @@ function poll_help($path, $arg) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function poll_init() {
drupal_add_css(drupal_get_path('module', 'poll') . '/poll.css');
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function poll_theme() {
return array(
@@ -51,7 +51,7 @@ function poll_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function poll_perm() {
$perms = node_list_permissions('poll');
@@ -74,7 +74,7 @@ function poll_perm() {
}
/**
- * Implementation of hook_access().
+ * Implement hook_access().
*/
function poll_access($op, $node, $account) {
switch ($op) {
@@ -88,7 +88,7 @@ function poll_access($op, $node, $account) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function poll_menu() {
$items['poll'] = array(
@@ -129,7 +129,7 @@ function _poll_menu_access($node, $perm, $inspect_allowvotes) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function poll_block_list() {
if (user_access('access content')) {
@@ -139,7 +139,7 @@ function poll_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Generates a block containing the latest poll.
*/
@@ -169,7 +169,7 @@ function poll_block_view($delta = '') {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*
* Closes polls that have exceeded their allowed runtime.
*/
@@ -184,7 +184,7 @@ function poll_cron() {
}
/**
- * Implementation of hook_node_info().
+ * Implement hook_node_info().
*/
function poll_node_info() {
return array(
@@ -199,7 +199,7 @@ function poll_node_info() {
}
/**
- * Implementation of hook_form().
+ * Implement hook_form().
*/
function poll_form($node, $form_state) {
global $user;
@@ -379,7 +379,7 @@ function poll_choice_js($form, $form_state) {
}
/**
- * Implementation of hook_submit().
+ * Implement hook_submit().
*/
function poll_node_form_submit(&$form, &$form_state) {
// Renumber fields
@@ -388,7 +388,7 @@ function poll_node_form_submit(&$form, &$form_state) {
}
/**
- * Implementation of hook_validate().
+ * Implement hook_validate().
*/
function poll_validate($node, $form) {
if (isset($node->title)) {
@@ -412,7 +412,7 @@ function poll_validate($node, $form) {
}
/**
- * Implementation of hook_node_prepare_translation().
+ * Implement hook_node_prepare_translation().
*/
function poll_node_prepare_translation($node) {
if ($node->type == 'poll') {
@@ -421,7 +421,7 @@ function poll_node_prepare_translation($node) {
}
/**
- * Implementation of hook_load().
+ * Implement hook_load().
*/
function poll_load($nodes) {
global $user;
@@ -455,7 +455,7 @@ function poll_load($nodes) {
}
/**
- * Implementation of hook_insert().
+ * Implement hook_insert().
*/
function poll_insert($node) {
if (!user_access('administer nodes')) {
@@ -489,7 +489,7 @@ function poll_insert($node) {
}
/**
- * Implementation of hook_update().
+ * Implement hook_update().
*/
function poll_update($node) {
// Update poll settings.
@@ -526,7 +526,7 @@ function poll_update($node) {
}
/**
- * Implementation of hook_delete().
+ * Implement hook_delete().
*/
function poll_delete($node) {
db_delete('poll')
@@ -541,7 +541,7 @@ function poll_delete($node) {
}
/**
- * Implementation of hook_view().
+ * Implement hook_view().
*
* @param $block
* An extra parameter that adapts the hook to display a block-ready
@@ -841,7 +841,7 @@ function poll_cancel($form, &$form_state) {
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function poll_user_cancel($edit, $account, $method) {
switch ($method) {
diff --git a/modules/profile/profile.install b/modules/profile/profile.install
index 3cfcf3733..fe453bbe0 100644
--- a/modules/profile/profile.install
+++ b/modules/profile/profile.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function profile_install() {
// Create tables.
@@ -15,7 +15,7 @@ function profile_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function profile_uninstall() {
// Remove tables
@@ -25,7 +25,7 @@ function profile_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function profile_schema() {
$schema['profile_field'] = array(
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index e96fb33c2..6bdf7caf7 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -27,7 +27,7 @@ define('PROFILE_PUBLIC_LISTINGS', 3);
define('PROFILE_HIDDEN', 4);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function profile_help($path, $arg) {
switch ($path) {
@@ -49,7 +49,7 @@ function profile_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function profile_theme() {
return array(
@@ -73,7 +73,7 @@ function profile_theme() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function profile_menu() {
$items['profile'] = array(
@@ -126,7 +126,7 @@ function profile_menu() {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function profile_block_list() {
$blocks['author-information']['info'] = t('Author information');
@@ -135,7 +135,7 @@ function profile_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function profile_block_configure($delta = '') {
// Compile a list of fields to show
@@ -156,14 +156,14 @@ function profile_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function profile_block_save($delta = '', $edit = array()) {
variable_set('profile_block_author_fields', $edit['profile_block_author_fields']);
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*/
function profile_block_view($delta = '') {
if (user_access('access user profiles')) {
@@ -203,56 +203,56 @@ function profile_block_view($delta = '') {
}
/**
- * Implementation of hook_user_register().
+ * Implement hook_user_register().
*/
function profile_user_register(&$edit, &$user, $category = NULL) {
return profile_form_profile($edit, $user, $category, TRUE);
}
/**
- * Implementation of hook_user_update().
+ * Implement hook_user_update().
*/
function profile_user_update(&$edit, &$user, $category = NULL) {
return profile_save_profile($edit, $user, $category);
}
/**
- * Implementation of hook_user_insert().
+ * Implement hook_user_insert().
*/
function profile_user_insert(&$edit, &$user, $category = NULL) {
return profile_save_profile($edit, $user, $category, TRUE);
}
/**
- * Implementation of hook_user_view().
+ * Implement hook_user_view().
*/
function profile_user_view(&$edit, &$user, $category = NULL) {
return profile_view_profile($user);
}
/**
- * Implementation of hook_user_form().
+ * Implement hook_user_form().
*/
function profile_user_form(&$edit, &$user, $category = NULL) {
return profile_form_profile($edit, $user, $category);
}
/**
- * Implementation of hook_user_validate().
+ * Implement hook_user_validate().
*/
function profile_user_validate(&$edit, &$user, $category = NULL) {
return profile_validate_profile($edit, $category);
}
/**
- * Implementation of hook_user_categories().
+ * Implement hook_user_categories().
*/
function profile_user_categories($edit, $user, $category = NULL) {
return profile_categories();
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function profile_user_cancel(&$edit, &$account, $method) {
switch ($method) {
@@ -266,7 +266,7 @@ function profile_user_cancel(&$edit, &$account, $method) {
}
/**
- * Implementation of hook_user_load().
+ * Implement hook_user_load().
*/
function profile_user_load($users) {
$result = db_query('SELECT f.name, f.type, v.uid, v.value FROM {profile_field} f INNER JOIN {profile_value} v ON f.fid = v.fid WHERE uid IN (:uids)', array(':uids' => array_keys($users)));
diff --git a/modules/search/search.install b/modules/search/search.install
index 5333d8166..bda4c9809 100644
--- a/modules/search/search.install
+++ b/modules/search/search.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function search_install() {
// Create tables.
@@ -15,7 +15,7 @@ function search_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function search_uninstall() {
// Remove tables.
@@ -27,7 +27,7 @@ function search_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function search_schema() {
$schema['search_dataset'] = array(
diff --git a/modules/search/search.module b/modules/search/search.module
index 84854728d..f6348fc0f 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -91,7 +91,7 @@ define('PREG_CLASS_CJK', '\x{3041}-\x{30ff}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}' .
'\x{4e00}-\x{9fbb}\x{f900}-\x{fad9}');
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function search_help($path, $arg) {
switch ($path) {
@@ -112,7 +112,7 @@ function search_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function search_theme() {
return array(
@@ -141,7 +141,7 @@ function search_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function search_perm() {
return array(
@@ -161,7 +161,7 @@ function search_perm() {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function search_block_list() {
$blocks['form']['info'] = t('Search form');
@@ -171,7 +171,7 @@ function search_block_list() {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*/
function search_block_view($delta = '') {
if (user_access('search content')) {
@@ -182,7 +182,7 @@ function search_block_view($delta = '') {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function search_menu() {
$items['search'] = array(
@@ -273,7 +273,7 @@ function search_dirty($word = NULL) {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*
* Fires hook_update_index() in all modules and cleans up dirty words (see
* search_dirty).
@@ -640,7 +640,7 @@ function search_touch_node($nid) {
}
/**
- * Implementation of hook_node_update_index().
+ * Implement hook_node_update_index().
*/
function search_node_update_index($node) {
// Transplant links to a node into the target node.
@@ -655,7 +655,7 @@ function search_node_update_index($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function search_node_update($node) {
// Reindex the node when it is updated. The node is automatically indexed
@@ -664,7 +664,7 @@ function search_node_update($node) {
}
/**
- * Implementation of hook_comment_insert().
+ * Implement hook_comment_insert().
*/
function search_comment_insert($form_values) {
// Reindex the node when comments are added.
@@ -672,7 +672,7 @@ function search_comment_insert($form_values) {
}
/**
- * Implementation of hook_comment_update().
+ * Implement hook_comment_update().
*/
function search_comment_update($form_values) {
// Reindex the node when comments are changed.
@@ -680,7 +680,7 @@ function search_comment_update($form_values) {
}
/**
- * Implementation of hook_comment_delete().
+ * Implement hook_comment_delete().
*/
function search_comment_delete($comment) {
// Reindex the node when comments are deleted.
@@ -688,7 +688,7 @@ function search_comment_delete($comment) {
}
/**
- * Implementation of hook_comment_publish().
+ * Implement hook_comment_publish().
*/
function search_comment_publish($form_values) {
// Reindex the node when comments are published.
@@ -696,7 +696,7 @@ function search_comment_publish($form_values) {
}
/**
- * Implementation of hook_comment_unpublish().
+ * Implement hook_comment_unpublish().
*/
function search_comment_unpublish($comment) {
// Reindex the node when comments are unpublished.
diff --git a/modules/simpletest/simpletest.install b/modules/simpletest/simpletest.install
index 052ecdb3e..9adcc3a71 100644
--- a/modules/simpletest/simpletest.install
+++ b/modules/simpletest/simpletest.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function simpletest_install() {
drupal_install_schema('simpletest');
@@ -99,7 +99,7 @@ function simpletest_get_file_count($directory, $filename) {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function simpletest_uninstall() {
simpletest_clean_environment();
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index cad833381..51f6e21f3 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function simpletest_help($path, $arg) {
switch ($path) {
@@ -22,7 +22,7 @@ function simpletest_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function simpletest_menu() {
$items['admin/development'] = array(
@@ -53,7 +53,7 @@ function simpletest_menu() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function simpletest_perm() {
return array(
@@ -65,7 +65,7 @@ function simpletest_perm() {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function simpletest_theme() {
return array(
@@ -81,7 +81,7 @@ function simpletest_theme() {
}
/**
- * Implementation of hook_js_alter().
+ * Implement hook_js_alter().
*/
function simpletest_js_alter(&$javascript) {
// Since SimpleTest is a special use case for the table select, stick the
diff --git a/modules/simpletest/simpletest.test b/modules/simpletest/simpletest.test
index af5c3f152..227aa13e7 100644
--- a/modules/simpletest/simpletest.test
+++ b/modules/simpletest/simpletest.test
@@ -266,7 +266,7 @@ class SimpleTestFunctionalTest extends DrupalWebTestCase {
class SimpleTestMailCaptureTestCase extends DrupalWebTestCase {
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -338,4 +338,4 @@ class SimpleTestMailCaptureTestCase extends DrupalWebTestCase {
$captured_emails = $this->drupalGetMails(array('id' => 'drupal_mail_test_4'));
$this->assertEqual(count($captured_emails), 2, t('All e-mails with the same id are returned when filtering by id.'), t('E-mail'));
}
-} \ No newline at end of file
+}
diff --git a/modules/simpletest/tests/database_test.install b/modules/simpletest/tests/database_test.install
index e16c0ad81..6b9607775 100644
--- a/modules/simpletest/tests/database_test.install
+++ b/modules/simpletest/tests/database_test.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*
* The database tests use the database API which depends on schema
* information for certain operations on certain databases.
@@ -206,14 +206,14 @@ function database_test_schema() {
}
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function database_test_install() {
drupal_install_schema('database_test');
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function database_test_uninstall() {
drupal_uninstall_schema('database_test');
diff --git a/modules/simpletest/tests/database_test.module b/modules/simpletest/tests/database_test.module
index fdb660dc0..df446deb8 100644
--- a/modules/simpletest/tests/database_test.module
+++ b/modules/simpletest/tests/database_test.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implementation of hook_query_alter().
+ * Implement hook_query_alter().
*/
function database_test_query_alter(QueryAlterableInterface $query) {
@@ -34,14 +34,14 @@ function database_test_query_alter(QueryAlterableInterface $query) {
/**
- * Implementation of hook_query_TAG_alter(). Called by DatabaseTestCase::testAlterRemoveRange.
+ * Implement hook_query_TAG_alter(). Called by DatabaseTestCase::testAlterRemoveRange.
*/
function database_test_query_database_test_alter_remove_range_alter(QueryAlterableInterface $query) {
$query->range();
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function database_test_menu() {
$items['database_test/db_query_temporary'] = array(
diff --git a/modules/simpletest/tests/error_test.module b/modules/simpletest/tests/error_test.module
index 384f62bf3..e08c151b8 100644
--- a/modules/simpletest/tests/error_test.module
+++ b/modules/simpletest/tests/error_test.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function error_test_menu() {
$items['error-test/generate-warnings'] = array(
diff --git a/modules/simpletest/tests/field_test.install b/modules/simpletest/tests/field_test.install
index 7faa5ee56..1fa0eeb11 100644
--- a/modules/simpletest/tests/field_test.install
+++ b/modules/simpletest/tests/field_test.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function field_test_schema() {
$schema['test_entity'] = array(
@@ -66,14 +66,14 @@ function field_test_schema() {
}
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function field_test_install() {
drupal_install_schema('field_test');
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function field_test_uninstall() {
drupal_uninstall_schema('field_test');
diff --git a/modules/simpletest/tests/field_test.module b/modules/simpletest/tests/field_test.module
index 7a3b544c6..8999cdaa3 100644
--- a/modules/simpletest/tests/field_test.module
+++ b/modules/simpletest/tests/field_test.module
@@ -5,7 +5,7 @@ define('FIELD_TEST_ELEMENT_ID', 1);
define('FIELD_TEST_BUNDLE', 'test_bundle');
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function field_test_perm() {
$perms = array(
@@ -22,7 +22,7 @@ function field_test_perm() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function field_test_menu() {
$items = array();
@@ -132,7 +132,7 @@ function field_test_delete_bundle($bundle) {
}
/**
- * Implementation of hook_field_build_modes().
+ * Implement hook_field_build_modes().
*/
function field_test_field_build_modes($obj_type) {
$modes = array();
@@ -326,7 +326,7 @@ function field_test_entity_form_submit_builder($form, &$form_state) {
*/
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*
* This field provides a textfield which only accepts the value 1.
*/
@@ -348,7 +348,7 @@ function field_test_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function field_test_field_schema($field) {
return array(
@@ -366,7 +366,7 @@ function field_test_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'field_test_invalid': The value is invalid.
@@ -383,7 +383,7 @@ function field_test_field_validate($obj_type, $object, $field, $instance, $items
}
/**
- * Implementation of hook_field_sanitize().
+ * Implement hook_field_sanitize().
*/
function field_test_field_sanitize($obj_type, $object, $field, $instance, &$items) {
foreach ($items as $delta => $item) {
@@ -393,14 +393,14 @@ function field_test_field_sanitize($obj_type, $object, $field, $instance, &$item
}
/**
- * Implementation of hook_field_is_empty().
+ * Implement hook_field_is_empty().
*/
function field_test_field_is_empty($item, $field) {
return empty($item['value']);
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* Here we indicate that the content module will handle
* the default value and multiple values for these widgets.
@@ -434,7 +434,7 @@ function field_test_field_widget_info() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*
* Attach a single form element to the form. It will be built out and
* validated in the callback(s) listed in hook_elements. We build it
@@ -479,14 +479,14 @@ function field_test_field_widget(&$form, &$form_state, $field, $instance, $items
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function field_test_field_widget_error($element, $error) {
form_error($element['value'], $error['message']);
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function field_test_field_formatter_info() {
return array(
@@ -514,7 +514,7 @@ function field_test_field_formatter_info() {
}
/**
- * Implementation of hook_field_load().
+ * Implement hook_field_load().
*/
function field_test_field_load($obj_type, $objects, $field, $instances, &$items, $age) {
foreach ($items as $id => $item) {
@@ -532,7 +532,7 @@ function field_test_field_load($obj_type, $objects, $field, $instances, &$items,
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function field_test_theme() {
return array(
diff --git a/modules/simpletest/tests/file_test.module b/modules/simpletest/tests/file_test.module
index 0fd9cb715..3873c1ec9 100644
--- a/modules/simpletest/tests/file_test.module
+++ b/modules/simpletest/tests/file_test.module
@@ -10,7 +10,7 @@
*/
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function file_test_menu() {
$items['file-test/upload'] = array(
@@ -169,7 +169,7 @@ function file_test_set_return($op, $value) {
}
/**
- * Implementation of hook_file_load().
+ * Implement hook_file_load().
*/
function file_test_file_load($files) {
foreach ($files as $file) {
@@ -181,7 +181,7 @@ function file_test_file_load($files) {
}
/**
- * Implementation of hook_file_validate().
+ * Implement hook_file_validate().
*/
function file_test_file_validate($file) {
_file_test_log_call('validate', array($file));
@@ -189,7 +189,7 @@ function file_test_file_validate($file) {
}
/**
- * Implementation of hook_file_download().
+ * Implement hook_file_download().
*/
function file_test_file_download($file) {
_file_test_log_call('download', array($file));
@@ -197,7 +197,7 @@ function file_test_file_download($file) {
}
/**
- * Implementation of hook_file_references().
+ * Implement hook_file_references().
*/
function file_test_file_references($file) {
_file_test_log_call('references', array($file));
@@ -205,35 +205,35 @@ function file_test_file_references($file) {
}
/**
- * Implementation of hook_file_insert().
+ * Implement hook_file_insert().
*/
function file_test_file_insert($file) {
_file_test_log_call('insert', array($file));
}
/**
- * Implementation of hook_file_update().
+ * Implement hook_file_update().
*/
function file_test_file_update($file) {
_file_test_log_call('update', array($file));
}
/**
- * Implementation of hook_file_copy().
+ * Implement hook_file_copy().
*/
function file_test_file_copy($file, $source) {
_file_test_log_call('copy', array($file, $source));
}
/**
- * Implementation of hook_file_move().
+ * Implement hook_file_move().
*/
function file_test_file_move($file, $source) {
_file_test_log_call('move', array($file, $source));
}
/**
- * Implementation of hook_file_delete().
+ * Implement hook_file_delete().
*/
function file_test_file_delete($file) {
_file_test_log_call('delete', array($file));
diff --git a/modules/simpletest/tests/form_test.module b/modules/simpletest/tests/form_test.module
index f9053c57e..34b495f5d 100644
--- a/modules/simpletest/tests/form_test.module
+++ b/modules/simpletest/tests/form_test.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function form_test_menu() {
$items = array();
diff --git a/modules/simpletest/tests/image_test.module b/modules/simpletest/tests/image_test.module
index ed2cd320f..1428d303c 100644
--- a/modules/simpletest/tests/image_test.module
+++ b/modules/simpletest/tests/image_test.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_image_toolkits().
+ * Implement hook_image_toolkits().
*/
function image_test_image_toolkits() {
return array(
diff --git a/modules/simpletest/tests/menu_test.module b/modules/simpletest/tests/menu_test.module
index 1b8daa4e8..26114ef97 100644
--- a/modules/simpletest/tests/menu_test.module
+++ b/modules/simpletest/tests/menu_test.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function menu_test_menu() {
// The name of the menu changes during the course of the test. Using a $_GET.
diff --git a/modules/simpletest/tests/session_test.module b/modules/simpletest/tests/session_test.module
index 4a3f51f7a..352a21e25 100644
--- a/modules/simpletest/tests/session_test.module
+++ b/modules/simpletest/tests/session_test.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function session_test_menu() {
$items['session-test/get'] = array(
@@ -125,7 +125,7 @@ function _session_test_set_not_started() {
}
/**
- * Implementation of hook_user().
+ * Implement hook_user().
*/
function session_test_user_login($edit = array(), $user = NULL) {
if ($edit['name'] == 'session_test_user') {
diff --git a/modules/simpletest/tests/system_test.module b/modules/simpletest/tests/system_test.module
index 6da183b24..432737f52 100644
--- a/modules/simpletest/tests/system_test.module
+++ b/modules/simpletest/tests/system_test.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function system_test_menu() {
$items['system-test/auth'] = array(
@@ -96,7 +96,7 @@ function system_test_destination() {
}
/**
- * Implementation of hook_modules_installed().
+ * Implement hook_modules_installed().
*/
function system_test_modules_installed($modules) {
if (in_array('aggregator', $modules)) {
@@ -105,7 +105,7 @@ function system_test_modules_installed($modules) {
}
/**
- * Implementation of hook_modules_enabled().
+ * Implement hook_modules_enabled().
*/
function system_test_modules_enabled($modules) {
if (in_array('aggregator', $modules)) {
@@ -114,7 +114,7 @@ function system_test_modules_enabled($modules) {
}
/**
- * Implementation of hook_modules_disabled().
+ * Implement hook_modules_disabled().
*/
function system_test_modules_disabled($modules) {
if (in_array('aggregator', $modules)) {
@@ -123,7 +123,7 @@ function system_test_modules_disabled($modules) {
}
/**
- * Implementation of hook_modules_uninstalled().
+ * Implement hook_modules_uninstalled().
*/
function system_test_modules_uninstalled($modules) {
if (in_array('aggregator', $modules)) {
@@ -132,14 +132,14 @@ function system_test_modules_uninstalled($modules) {
}
/**
- * Implementation of hook_boot().
+ * Implement hook_boot().
*/
function system_test_boot() {
watchdog('system_test', 'hook_boot');
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function system_test_init() {
// Used by FrontPageTestCase to get the results of drupal_is_front_page().
@@ -149,7 +149,7 @@ function system_test_init() {
}
/**
- * Implementation of hook_exit().
+ * Implement hook_exit().
*/
function system_test_exit() {
watchdog('system_test', 'hook_exit');
diff --git a/modules/simpletest/tests/taxonomy_test.install b/modules/simpletest/tests/taxonomy_test.install
index 131a6b459..ae741f0e6 100644
--- a/modules/simpletest/tests/taxonomy_test.install
+++ b/modules/simpletest/tests/taxonomy_test.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function taxonomy_test_schema() {
$schema['term_antonym'] = array(
@@ -44,14 +44,14 @@ function taxonomy_test_schema() {
}
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function taxonomy_test_install() {
drupal_install_schema('taxonomy_test');
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function taxonomy_test_uninstall() {
drupal_uninstall_schema('taxonomy_test');
diff --git a/modules/simpletest/tests/taxonomy_test.module b/modules/simpletest/tests/taxonomy_test.module
index d90148fa2..2fa05b15c 100644
--- a/modules/simpletest/tests/taxonomy_test.module
+++ b/modules/simpletest/tests/taxonomy_test.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_taxonomy_term_load().
+ * Implement hook_taxonomy_term_load().
*/
function taxonomy_test_taxonomy_term_load(&$terms) {
foreach ($terms as $term) {
@@ -16,7 +16,7 @@ function taxonomy_test_taxonomy_term_load(&$terms) {
}
/**
- * Implementation of hook_taxonomy_term_insert().
+ * Implement hook_taxonomy_term_insert().
*/
function taxonomy_test_taxonomy_term_insert($term) {
if (!empty($term->antonyms)) {
@@ -29,7 +29,7 @@ function taxonomy_test_taxonomy_term_insert($term) {
}
/**
- * Implementation of hook_taxonomy_term_update().
+ * Implement hook_taxonomy_term_update().
*/
function taxonomy_test_taxonomy_term_update($term) {
taxonomy_test_taxonomy_term_delete($term);
@@ -43,14 +43,14 @@ function taxonomy_test_taxonomy_term_update($term) {
}
/**
- * Implementation of hook_taxonomy_term_delete().
+ * Implement hook_taxonomy_term_delete().
*/
function taxonomy_test_taxonomy_term_delete($term) {
db_delete('term_antonym')->condition('tid', $term->tid)->execute();
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*/
function taxonomy_test_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'taxonomy_form_term') {
diff --git a/modules/simpletest/tests/xmlrpc_test.module b/modules/simpletest/tests/xmlrpc_test.module
index fba5a0430..d776fdec1 100644
--- a/modules/simpletest/tests/xmlrpc_test.module
+++ b/modules/simpletest/tests/xmlrpc_test.module
@@ -47,7 +47,7 @@ function xmlrpc_test_simpleStructReturnTest($number) {
}
/**
- * Implementation of hook_xmlrpc()
+ * Implement hook_xmlrpc()
*/
function xmlrpc_test_xmlrpc() {
return array(
diff --git a/modules/statistics/statistics.install b/modules/statistics/statistics.install
index 6106751b8..289a13236 100644
--- a/modules/statistics/statistics.install
+++ b/modules/statistics/statistics.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function statistics_install() {
// Create tables.
@@ -15,7 +15,7 @@ function statistics_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function statistics_uninstall() {
// Remove tables.
@@ -32,7 +32,7 @@ function statistics_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function statistics_schema() {
$schema['accesslog'] = array(
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index ad876b97b..393a9754a 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function statistics_help($path, $arg) {
switch ($path) {
@@ -38,7 +38,7 @@ function statistics_help($path, $arg) {
}
/**
- * Implementation of hook_exit().
+ * Implement hook_exit().
*
* This is where statistics are gathered on page accesses.
*/
@@ -81,7 +81,7 @@ function statistics_exit() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function statistics_perm() {
return array(
@@ -101,7 +101,7 @@ function statistics_perm() {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function statistics_node_view($node, $teaser) {
if ($node->build_mode != NODE_BUILD_RSS) {
@@ -121,7 +121,7 @@ function statistics_node_view($node, $teaser) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function statistics_menu() {
$items['admin/reports/hits'] = array(
@@ -186,7 +186,7 @@ function statistics_menu() {
}
/**
- * Implementation of hook_user_cancel().
+ * Implement hook_user_cancel().
*/
function statistics_user_cancel($edit, $account, $method) {
switch ($method) {
@@ -206,7 +206,7 @@ function statistics_user_cancel($edit, $account, $method) {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*/
function statistics_cron() {
$statistics_timestamp = variable_get('statistics_day_timestamp', '');
@@ -283,7 +283,7 @@ function statistics_get($nid) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function statistics_block_list() {
if (variable_get('statistics_count_content_views', 0)) {
@@ -295,7 +295,7 @@ function statistics_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function statistics_block_configure($delta = '') {
// Popular content block settings
@@ -307,7 +307,7 @@ function statistics_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function statistics_block_save($delta = '', $edit = array()) {
variable_set('statistics_block_top_day_num', $edit['statistics_block_top_day_num']);
@@ -316,7 +316,7 @@ function statistics_block_save($delta = '', $edit = array()) {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*/
function statistics_block_view($delta = '') {
if (user_access('access content')) {
@@ -363,7 +363,7 @@ function _statistics_format_item($title, $path) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function statistics_node_delete($node) {
// clean up statistics table when node is deleted
@@ -373,7 +373,7 @@ function statistics_node_delete($node) {
}
/**
- * Implementation of hook_ranking().
+ * Implement hook_ranking().
*/
function statistics_ranking() {
if (variable_get('statistics_count_content_views', 0)) {
@@ -390,7 +390,7 @@ function statistics_ranking() {
}
/**
- * Implementation of hook_update_index().
+ * Implement hook_update_index().
*/
function statistics_update_index() {
variable_set('node_cron_views_scale', 1.0 / max(1, db_result(db_query('SELECT MAX(totalcount) FROM {node_counter}'))));
diff --git a/modules/syslog/syslog.module b/modules/syslog/syslog.module
index 21e61e24e..5fc2e519b 100644
--- a/modules/syslog/syslog.module
+++ b/modules/syslog/syslog.module
@@ -14,7 +14,7 @@ else {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function syslog_help($path, $arg) {
switch ($path) {
@@ -27,7 +27,7 @@ function syslog_help($path, $arg) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function syslog_form_system_logging_settings_alter(&$form, &$form_state) {
$form['syslog_facility'] = array(
@@ -61,7 +61,7 @@ function syslog_facility_list() {
}
/**
- * Implementation of hook_watchdog().
+ * Implement hook_watchdog().
*/
function syslog_watchdog(array $log_entry) {
static $log_init = FALSE;
diff --git a/modules/system/system.install b/modules/system/system.install
index 8407e213b..15db982ca 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -297,7 +297,7 @@ function system_requirements($phase) {
}
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function system_install() {
if (db_driver() == 'pgsql') {
@@ -418,7 +418,7 @@ function system_install() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function system_schema() {
// NOTE: {variable} needs to be created before all other tables, as
diff --git a/modules/system/system.module b/modules/system/system.module
index 876704b55..0a6d7ee51 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -57,7 +57,7 @@ define('DRUPAL_USER_TIMEZONE_EMPTY', 1);
define('DRUPAL_USER_TIMEZONE_SELECT', 2);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function system_help($path, $arg) {
global $base_url;
@@ -115,7 +115,7 @@ function system_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function system_theme() {
return array_merge(drupal_common_theme(), array(
@@ -173,7 +173,7 @@ function system_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function system_perm() {
return array(
@@ -209,7 +209,7 @@ function system_perm() {
}
/**
- * Implementation of hook_rdf_namespaces().
+ * Implement hook_rdf_namespaces().
*/
function system_rdf_namespaces() {
return array(
@@ -228,7 +228,7 @@ function system_rdf_namespaces() {
}
/**
- * Implementation of hook_elements().
+ * Implement hook_elements().
*/
function system_elements() {
// Top level form
@@ -440,7 +440,7 @@ function system_elements() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function system_menu() {
$items['system/files'] = array(
@@ -802,7 +802,7 @@ function system_admin_menu_block_access($path, $permission) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*/
function system_init() {
// Use the administrative theme if the user is looking at a page in the admin/* path.
@@ -819,7 +819,7 @@ function system_init() {
}
/**
- * Implementation of MODULE_preprocess_HOOK().
+ * Implement MODULE_preprocess_HOOK().
*/
function system_preprocess_page(&$variables) {
// Get the major version
@@ -835,7 +835,7 @@ function system_preprocess_page(&$variables) {
}
/**
- * Implementation of hook_user_form().
+ * Implement hook_user_form().
*/
function system_user_form(&$edit, &$user, $category = NULL) {
if ($category == 'account') {
@@ -848,7 +848,7 @@ function system_user_form(&$edit, &$user, $category = NULL) {
}
/**
- * Implementation of hook_user_register().
+ * Implement hook_user_register().
*/
function system_user_register(&$edit, &$user, $category = NULL) {
if (variable_get('configurable_timezones', 1)) {
@@ -867,7 +867,7 @@ function system_user_register(&$edit, &$user, $category = NULL) {
}
/**
- * Implementation of hook_user_login().
+ * Implement hook_user_login().
*/
function system_user_login(&$edit, &$user, $category = NULL) {
// If the user has a NULL time zone, notify them to set a time zone.
@@ -902,7 +902,7 @@ function system_user_timezone(&$edit, &$form) {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function system_block_list() {
$blocks['main'] = array(
@@ -930,7 +930,7 @@ function system_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function system_block_configure($delta = '') {
if ($delta == 'powered-by') {
@@ -959,7 +959,7 @@ function system_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function system_block_save($delta = '', $edit = NULL) {
if ($delta == 'powered-by') {
@@ -970,7 +970,7 @@ function system_block_save($delta = '', $edit = NULL) {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*
* Generate a block with a promotional link to Drupal.org and
* all system menu blocks.
@@ -1601,7 +1601,7 @@ function system_get_module_admin_tasks($module) {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*
* Remove older rows from flood and batch table. Remove old temporary files.
*/
@@ -1649,7 +1649,7 @@ function system_cron() {
}
/**
- * Implementation of hook_hook_info().
+ * Implement hook_hook_info().
*/
function system_hook_info() {
return array(
@@ -1664,7 +1664,7 @@ function system_hook_info() {
}
/**
- * Implementation of hook_action_info().
+ * Implement hook_action_info().
*/
function system_action_info() {
return array(
@@ -2053,7 +2053,7 @@ function system_send_email_action_submit($form, $form_state) {
}
/**
- * Implementation of a configurable Drupal action. Sends an email.
+ * Implement a configurable Drupal action. Sends an email.
*/
function system_send_email_action($object, $context) {
global $user;
@@ -2119,7 +2119,7 @@ function system_send_email_action($object, $context) {
}
/**
- * Implementation of hook_mail().
+ * Implement hook_mail().
*/
function system_mail($key, &$message, $params) {
$account = $params['account'];
@@ -2233,7 +2233,7 @@ function system_message_action(&$object, $context = array()) {
}
/**
- * Implementation of a configurable Drupal action. Redirect user to a URL.
+ * Implement a configurable Drupal action. Redirect user to a URL.
*/
function system_goto_action_form($context) {
$form['url'] = array(
@@ -2257,7 +2257,7 @@ function system_goto_action($object, $context) {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Blocks the user's IP address.
*/
function system_block_ip_action() {
@@ -2369,7 +2369,7 @@ function theme_meta_generator_header($version = VERSION) {
}
/**
- * Implementation of hook_image_toolkits().
+ * Implement hook_image_toolkits().
*/
function system_image_toolkits() {
return array(
diff --git a/modules/system/system.test b/modules/system/system.test
index 9756e9738..533a3cdc8 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -219,7 +219,7 @@ class IPAddressBlockingTestCase extends DrupalWebTestCase {
protected $blocking_user;
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -230,7 +230,7 @@ class IPAddressBlockingTestCase extends DrupalWebTestCase {
}
/**
- * Implementation of setUp().
+ * Implement setUp().
*/
function setUp() {
parent::setUp();
@@ -289,7 +289,7 @@ class IPAddressBlockingTestCase extends DrupalWebTestCase {
class CronRunTestCase extends DrupalWebTestCase {
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -376,7 +376,7 @@ class CronRunTestCase extends DrupalWebTestCase {
*/
class AdminOverviewTestCase extends DrupalWebTestCase {
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -463,7 +463,7 @@ class AdminOverviewTestCase extends DrupalWebTestCase {
class AdminMetaTagTestCase extends DrupalWebTestCase {
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -491,7 +491,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
protected $admin_user;
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -502,7 +502,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
}
/**
- * Implementation of setUp().
+ * Implement setUp().
*/
function setUp() {
parent::setUp();
@@ -552,7 +552,7 @@ class PageNotFoundTestCase extends DrupalWebTestCase {
protected $admin_user;
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -563,7 +563,7 @@ class PageNotFoundTestCase extends DrupalWebTestCase {
}
/**
- * Implementation of setUp().
+ * Implement setUp().
*/
function setUp() {
parent::setUp();
@@ -658,7 +658,7 @@ class PageTitleFiltering extends DrupalWebTestCase {
protected $saved_title;
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -669,7 +669,7 @@ class PageTitleFiltering extends DrupalWebTestCase {
}
/**
- * Implementation of setUp().
+ * Implement setUp().
*/
function setUp() {
parent::setUp();
@@ -825,7 +825,7 @@ class SystemBlockTestCase extends DrupalWebTestCase {
class SystemSettingsForm extends DrupalWebTestCase {
/**
- * Implementation of getInfo().
+ * Implement getInfo().
*/
public static function getInfo() {
return array(
@@ -836,7 +836,7 @@ class SystemSettingsForm extends DrupalWebTestCase {
}
/**
- * Implementation of setUp().
+ * Implement setUp().
*/
function setUp() {
parent::setUp();
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install
index 4e8a0907e..ff0f6607f 100644
--- a/modules/taxonomy/taxonomy.install
+++ b/modules/taxonomy/taxonomy.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function taxonomy_install() {
// Create tables.
@@ -15,7 +15,7 @@ function taxonomy_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function taxonomy_uninstall() {
// Remove tables.
@@ -27,7 +27,7 @@ function taxonomy_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function taxonomy_schema() {
$schema['taxonomy_term_data'] = array(
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index d1854f849..e3b3c3638 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function taxonomy_perm() {
return array(
@@ -19,7 +19,7 @@ function taxonomy_perm() {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function taxonomy_theme() {
return array(
@@ -112,7 +112,7 @@ function taxonomy_term_path($term) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function taxonomy_menu() {
$items['admin/content/taxonomy'] = array(
@@ -572,7 +572,7 @@ function taxonomy_get_vocabularies($type = NULL) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
* Generate a form for selecting terms to associate with a node.
* We check for taxonomy_override_selector before loading the full
* vocabulary, so contrib modules can intercept before hook_form_alter
@@ -859,7 +859,7 @@ function taxonomy_node_save($node, $terms) {
}
/**
- * Implementation of hook_node_type().
+ * Implement hook_node_type().
*/
function taxonomy_node_type($op, $info) {
if ($op == 'update' && !empty($info->old_type) && $info->type != $info->old_type) {
@@ -1559,7 +1559,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function taxonomy_node_load($nodes) {
// Get an array of tid, vid associations ordered by vocabulary and term
@@ -1585,7 +1585,7 @@ function taxonomy_node_load($nodes) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function taxonomy_node_insert($node) {
if (!empty($node->taxonomy)) {
@@ -1594,7 +1594,7 @@ function taxonomy_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function taxonomy_node_update($node) {
if (!empty($node->taxonomy)) {
@@ -1603,7 +1603,7 @@ function taxonomy_node_update($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*
* Remove associations of a node to its terms.
*/
@@ -1615,7 +1615,7 @@ function taxonomy_node_delete($node) {
}
/**
- * Implementation of hook_node_delete_revision().
+ * Implement hook_node_delete_revision().
*
* Remove associations of a node to its terms.
*/
@@ -1627,7 +1627,7 @@ function taxonomy_node_delete_revision($node) {
}
/**
- * Implementation of hook_node_validate().
+ * Implement hook_node_validate().
*
* Make sure incoming vids are free tagging enabled.
*/
@@ -1648,7 +1648,7 @@ function taxonomy_node_validate($node, $form) {
}
/**
- * Implementation of hook_node_update_index().
+ * Implement hook_node_update_index().
*/
function taxonomy_node_update_index($node) {
$output = array();
@@ -1687,7 +1687,7 @@ function taxonomy_terms_parse_string($str_tids) {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function taxonomy_help($path, $arg) {
switch ($path) {
@@ -1751,7 +1751,7 @@ function taxonomy_implode_tags($tags, $vid = NULL) {
}
/**
- * Implementation of hook_hook_info().
+ * Implement hook_hook_info().
*/
function taxonomy_hook_info() {
return array(
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module
index 0044bd480..11c0f7d5a 100644
--- a/modules/tracker/tracker.module
+++ b/modules/tracker/tracker.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function tracker_help($path, $arg) {
switch ($path) {
@@ -20,7 +20,7 @@ function tracker_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function tracker_menu() {
$items['tracker'] = array(
diff --git a/modules/translation/translation.module b/modules/translation/translation.module
index df4312097..28cf089ed 100644
--- a/modules/translation/translation.module
+++ b/modules/translation/translation.module
@@ -26,7 +26,7 @@
define('TRANSLATION_ENABLED', 2);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function translation_help($path, $arg) {
switch ($path) {
@@ -51,7 +51,7 @@ function translation_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function translation_menu() {
$items = array();
@@ -82,7 +82,7 @@ function _translation_tab_access($node) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function translation_perm() {
return array(
@@ -94,7 +94,7 @@ function translation_perm() {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*/
function translation_form_node_type_form_alter(&$form, &$form_state) {
// Add translation option to content type form.
@@ -104,7 +104,7 @@ function translation_form_node_type_form_alter(&$form, &$form_state) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*
* - Add translation option to content type form.
* - Alters language fields on node forms when a translation
@@ -162,7 +162,7 @@ function translation_form_alter(&$form, &$form_state, $form_id) {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*
* Display translation links with native language names, if this node
* is part of a translation set.
@@ -190,7 +190,7 @@ function translation_node_view($node, $teaser = FALSE) {
}
/**
- * Implementation of hook_node_prepare().
+ * Implement hook_node_prepare().
*/
function translation_node_prepare($node) {
// Only act if we are dealing with a content type supporting translations.
@@ -221,7 +221,7 @@ function translation_node_prepare($node) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function translation_node_insert($node) {
// Only act if we are dealing with a content type supporting translations.
@@ -254,7 +254,7 @@ function translation_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function translation_node_update($node) {
// Only act if we are dealing with a content type supporting translations.
@@ -281,7 +281,7 @@ function translation_node_update($node) {
}
/**
- * Implementation of hook_node_validate().
+ * Implement hook_node_validate().
*
* Ensure that duplicate translations can not be created for the same source.
*/
@@ -297,7 +297,7 @@ function translation_node_validate($node, $form) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function translation_node_delete($node) {
// Only act if we are dealing with a content type supporting translations.
@@ -406,7 +406,7 @@ function translation_path_get_translations($path) {
}
/**
- * Implementation of hook_translation_link_alter().
+ * Implement hook_translation_link_alter().
*
* Replaces links with pointers to translated versions of the content.
*/
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.
*/
diff --git a/modules/update/update.install b/modules/update/update.install
index 1833f5dec..8814b9781 100644
--- a/modules/update/update.install
+++ b/modules/update/update.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function update_install() {
// Create cache table.
@@ -17,7 +17,7 @@ function update_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function update_uninstall() {
// Remove cache table.
@@ -37,7 +37,7 @@ function update_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function update_schema() {
$schema['cache_update'] = drupal_get_schema_unprocessed('system', 'cache');
diff --git a/modules/update/update.module b/modules/update/update.module
index bb05efb9b..0013bbeac 100644
--- a/modules/update/update.module
+++ b/modules/update/update.module
@@ -53,7 +53,7 @@ define('UPDATE_UNKNOWN', -2);
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function update_help($path, $arg) {
switch ($path) {
@@ -112,7 +112,7 @@ function update_help($path, $arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function update_menu() {
$items = array();
@@ -142,7 +142,7 @@ function update_menu() {
}
/**
- * Implementation of the hook_theme() registry.
+ * Implement the hook_theme() registry.
*/
function update_theme() {
return array(
@@ -159,7 +159,7 @@ function update_theme() {
}
/**
- * Implementation of hook_requirements().
+ * Implement hook_requirements().
*
* @return
* An array describing the status of the site regarding available updates.
@@ -272,7 +272,7 @@ function _update_requirement_check($project, $type) {
}
/**
- * Implementation of hook_cron().
+ * Implement hook_cron().
*/
function update_cron() {
$frequency = variable_get('update_check_frequency', 1);
@@ -286,7 +286,7 @@ function update_cron() {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*
* Adds a submit handler to the system modules and themes forms, so that if a
* site admin saves either form, we invalidate the cache of available updates.
@@ -298,7 +298,7 @@ function update_form_system_themes_form_alter(&$form, $form_state) {
}
/**
- * Implementation of hook_form_FORM_ID_alter().
+ * Implement hook_form_FORM_ID_alter().
*
* Adds a submit handler to the system modules and themes forms, so that if a
* site admin saves either form, we invalidate the cache of available updates.
@@ -383,7 +383,7 @@ function update_refresh() {
}
/**
- * Implementation of hook_mail().
+ * Implement hook_mail().
*
* Constructs the email notification message when the site is out of date.
*
@@ -596,7 +596,7 @@ function _update_cache_clear($cid = NULL) {
}
/**
- * Implementation of hook_flush_caches().
+ * Implement hook_flush_caches().
*
* Called from update.php (among others) to flush the caches.
* Since we're running update.php, we are likely to install a new version of
diff --git a/modules/upload/upload.install b/modules/upload/upload.install
index b09174afd..0b50e0bbc 100644
--- a/modules/upload/upload.install
+++ b/modules/upload/upload.install
@@ -12,7 +12,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function upload_install() {
// Create table. The upload table might have been created in the Drupal 5
@@ -24,7 +24,7 @@ function upload_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function upload_uninstall() {
// Remove tables.
@@ -32,7 +32,7 @@ function upload_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function upload_schema() {
$schema['upload'] = array(
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index b8265b3b8..c54297a41 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -8,7 +8,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function upload_help($path, $arg) {
switch ($path) {
@@ -23,7 +23,7 @@ function upload_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function upload_theme() {
return array(
@@ -40,7 +40,7 @@ function upload_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function upload_perm() {
return array(
@@ -83,7 +83,7 @@ function upload_node_links($node, $teaser) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function upload_menu() {
$items['upload/js'] = array(
@@ -146,7 +146,7 @@ function _upload_file_limits($user) {
}
/**
- * Implementation of hook_file_download().
+ * Implement hook_file_download().
*/
function upload_file_download($filepath) {
$filepath = file_create_path($filepath);
@@ -264,7 +264,7 @@ function upload_form_alter(&$form, $form_state, $form_id) {
}
/**
- * Implementation of hook_file_load().
+ * Implement hook_file_load().
*/
function upload_file_load($files) {
// Add the upload specific data into the file object.
@@ -277,7 +277,7 @@ function upload_file_load($files) {
}
/**
- * Implementation of hook_file_references().
+ * Implement hook_file_references().
*/
function upload_file_references($file) {
// If upload.module is still using a file, do not let other modules delete it.
@@ -289,7 +289,7 @@ function upload_file_references($file) {
}
/**
- * Implementation of hook_file_delete().
+ * Implement hook_file_delete().
*/
function upload_file_delete($file) {
// Delete all information associated with the file.
@@ -297,7 +297,7 @@ function upload_file_delete($file) {
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function upload_node_load($nodes, $types) {
// Collect all the revision ids for nodes with upload enabled.
@@ -335,7 +335,7 @@ function upload_node_load($nodes, $types) {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function upload_node_view($node, $teaser) {
if (!isset($node->files)) {
@@ -381,7 +381,7 @@ function upload_node_view($node, $teaser) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function upload_node_insert($node) {
if (user_access('upload files')) {
@@ -390,7 +390,7 @@ function upload_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function upload_node_update($node) {
if (user_access('upload files')) {
@@ -399,7 +399,7 @@ function upload_node_update($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function upload_node_delete($node) {
db_delete('upload')->condition('nid', $node->nid)->execute();
@@ -412,7 +412,7 @@ function upload_node_delete($node) {
}
/**
- * Implementation of hook_node_delete_revision().
+ * Implement hook_node_delete_revision().
*/
function upload_node_delete_revision($node) {
db_delete('upload')->condition('vid', $node->vid)->execute();
@@ -425,7 +425,7 @@ function upload_node_delete_revision($node) {
}
/**
- * Implementation of hook_node_search_result().
+ * Implement hook_node_search_result().
*/
function upload_node_search_result($node) {
return isset($node->files) && is_array($node->files) ? format_plural(count($node->files), '1 attachment', '@count attachments') : NULL;
diff --git a/modules/user/user.install b/modules/user/user.install
index 5e871f9e3..9fb394d4e 100644
--- a/modules/user/user.install
+++ b/modules/user/user.install
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function user_schema() {
$schema['authmap'] = array(
diff --git a/modules/user/user.module b/modules/user/user.module
index fe16d994e..b0186c2bf 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -31,7 +31,7 @@ function user_module_invoke($type, &$array, &$user, $category = NULL) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function user_theme() {
return array(
@@ -84,7 +84,7 @@ function user_theme() {
}
/**
- * Implementation of hook_fieldable_info().
+ * Implement hook_fieldable_info().
*/
function user_fieldable_info() {
$return = array(
@@ -97,7 +97,7 @@ function user_fieldable_info() {
}
/**
- * Implementation of hook_field_build_modes().
+ * Implement hook_field_build_modes().
*/
function user_field_build_modes($obj_type) {
$modes = array();
@@ -784,7 +784,7 @@ function user_is_blocked($name) {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function user_perm() {
return array(
@@ -816,7 +816,7 @@ function user_perm() {
}
/**
- * Implementation of hook_file_download().
+ * Implement hook_file_download().
*
* Ensure that user pictures (avatars) are always downloadable.
*/
@@ -828,7 +828,7 @@ function user_file_download($filepath) {
}
/**
- * Implementation of hook_file_references().
+ * Implement hook_file_references().
*/
function user_file_references($file) {
// Determine if the file is used by this module.
@@ -840,7 +840,7 @@ function user_file_references($file) {
}
/**
- * Implementation of hook_file_delete().
+ * Implement hook_file_delete().
*/
function user_file_delete($file) {
// Remove any references to the file.
@@ -851,7 +851,7 @@ function user_file_delete($file) {
}
/**
- * Implementation of hook_search().
+ * Implement hook_search().
*/
function user_search($op = 'search', $keys = NULL, $skip_access_check = FALSE) {
switch ($op) {
@@ -887,7 +887,7 @@ function user_search($op = 'search', $keys = NULL, $skip_access_check = FALSE) {
}
/**
- * Implementation of hook_elements().
+ * Implement hook_elements().
*/
function user_elements() {
return array(
@@ -901,7 +901,7 @@ function user_elements() {
}
/**
- * Implementation of hook_user_view().
+ * Implement hook_user_view().
*/
function user_user_view(&$edit, &$account, $category = NULL) {
$account->content['user_picture'] = array(
@@ -925,7 +925,7 @@ function user_user_view(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_user_form.
+ * Implement hook_user_form.
*/
function user_user_form(&$edit, &$account, $category = NULL) {
if ($category == 'account') {
@@ -935,7 +935,7 @@ function user_user_form(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_user_validate().
+ * Implement hook_user_validate().
*/
function user_user_validate(&$edit, &$account, $category = NULL) {
if ($category == 'account') {
@@ -976,7 +976,7 @@ function user_user_validate(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_user_submit().
+ * Implement hook_user_submit().
*/
function user_user_submit(&$edit, &$account, $category = NULL) {
if ($category == 'account') {
@@ -998,7 +998,7 @@ function user_user_submit(&$edit, &$account, $category = NULL) {
}
/**
- * Implementation of hook_user_categories.
+ * Implement hook_user_categories.
*/
function user_user_categories($edit, $account, $category = NULL) {
return array(array('name' => 'account', 'title' => t('Account settings'), 'weight' => 1));
@@ -1036,7 +1036,7 @@ function user_login_block() {
}
/**
- * Implementation of hook_block_list().
+ * Implement hook_block_list().
*/
function user_block_list() {
global $user;
@@ -1054,7 +1054,7 @@ function user_block_list() {
}
/**
- * Implementation of hook_block_configure().
+ * Implement hook_block_configure().
*/
function user_block_configure($delta = '') {
global $user;
@@ -1079,7 +1079,7 @@ function user_block_configure($delta = '') {
}
/**
- * Implementation of hook_block_save().
+ * Implement hook_block_save().
*/
function user_block_save($delta = '', $edit = array()) {
global $user;
@@ -1097,7 +1097,7 @@ function user_block_save($delta = '', $edit = array()) {
}
/**
- * Implementation of hook_block_view().
+ * Implement hook_block_view().
*/
function user_block_view($delta = '') {
global $user;
@@ -1273,7 +1273,7 @@ function user_load_self($arg) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function user_menu() {
$items['user/autocomplete'] = array(
@@ -2055,7 +2055,7 @@ function user_build_content(&$account) {
}
/**
- * Implementation of hook_mail().
+ * Implement hook_mail().
*/
function user_mail($key, &$message, $params) {
$language = $message['language'];
@@ -2182,7 +2182,7 @@ function user_roles($membersonly = FALSE, $permission = NULL) {
}
/**
- * Implementation of hook_user_operations().
+ * Implement hook_user_operations().
*/
function user_user_operations($form_state = array()) {
$operations = array(
@@ -2381,7 +2381,7 @@ function user_multiple_cancel_confirm_submit($form, &$form_state) {
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function user_help($path, $arg) {
global $user;
@@ -2504,7 +2504,7 @@ function user_build_filter_query(SelectQuery $query) {
}
/**
- * Implementation of hook_forms().
+ * Implement hook_forms().
*/
function user_forms() {
$forms['user_admin_access_add_form']['callback'] = 'user_admin_access_form';
@@ -2514,7 +2514,7 @@ function user_forms() {
}
/**
- * Implementation of hook_comment_view().
+ * Implement hook_comment_view().
*/
function user_comment_view(&$comment) {
if (variable_get('user_signatures', 0) && !empty($comment->signature)) {
@@ -2673,7 +2673,7 @@ function _user_password_dynamic_validation() {
}
/**
- * Implementation of hook_hook_info().
+ * Implement hook_hook_info().
*/
function user_hook_info() {
return array(
@@ -2703,7 +2703,7 @@ function user_hook_info() {
}
/**
- * Implementation of hook_action_info().
+ * Implement hook_action_info().
*/
function user_action_info() {
return array(
@@ -2717,7 +2717,7 @@ function user_action_info() {
}
/**
- * Implementation of a Drupal action.
+ * Implement a Drupal action.
* Blocks the current user.
*/
function user_block_user_action(&$object, $context = array()) {
diff --git a/profiles/default/default.profile b/profiles/default/default.profile
index c6d6ec469..42e0fee9c 100644
--- a/profiles/default/default.profile
+++ b/profiles/default/default.profile
@@ -223,7 +223,7 @@ function default_profile_tasks(&$task, $url) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*
* Allows the profile to alter the site-configuration form. This is
* called through custom invocation, so $form_state is not populated.
diff --git a/profiles/expert/expert.profile b/profiles/expert/expert.profile
index a9f09b596..2a13c72a6 100644
--- a/profiles/expert/expert.profile
+++ b/profiles/expert/expert.profile
@@ -104,7 +104,7 @@ function expert_profile_tasks(&$task, $url) {
}
/**
- * Implementation of hook_form_alter().
+ * Implement hook_form_alter().
*
* Allows the profile to alter the site-configuration form. This is
* called through custom invocation, so $form_state is not populated.
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index 9d94b6849..e0feb580d 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -14,7 +14,7 @@ function phptemplate_init($template) {
}
/**
- * Implementation of hook_theme to tell Drupal what templates the engine
+ * Implement hook_theme to tell Drupal what templates the engine
* and the current theme use. The $existing argument will contain hooks
* pre-defined by Drupal so that we can use that information if
* we need to.