Commit 0f4060f3 authored by Dries's avatar Dries

- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.

parent 5bdcc4ad
......@@ -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;
......
......@@ -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(
......
......@@ -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.
*/
......
......@@ -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;
......
......@@ -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.
......
......@@ -2,7 +2,7 @@
// $Id$
/**
* Implementation of hook_menu().
* Implement hook_menu().
*/
function aggregator_test_menu() {
$items['aggregator/test-feed'] = array(
......
......@@ -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');
......
......@@ -61,7 +61,7 @@
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');
......
......@@ -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.
*/
......
......@@ -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(
......
......@@ -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()) {
......
......@@ -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(
......
......@@ -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) {
......
......@@ -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);
......
......@@ -7,7 +7,7 @@
*/
/**
* Implementation of hook_install().
* Implement hook_install().
*/
function comment_install() {
// Create tables.
......@@ -15,7 +15,7 @@ function comment_install() {
}