Commit 33c5af4b authored by Nicholas Thompson's avatar Nicholas Thompson
Browse files

Fixing Coder issues - fixing old usage of 'Implementation of' vs new 'Implements'

parent e128fb6a
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function blog_page_title_alter(&$title) {
$menu_item = menu_get_item();
......@@ -22,7 +22,7 @@ function blog_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function blog_page_title_pattern_alter(&$pattern, &$types) {
$menu_item = menu_get_item();
......@@ -35,7 +35,7 @@ function blog_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function blog_page_title_settings() {
return array(
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function comment_page_title_alter(&$title) {
// Get the current menu item and compare the path to the comment reply path.
......@@ -31,7 +31,7 @@ function comment_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function comment_page_title_pattern_alter(&$pattern, &$types) {
$menu_item = menu_get_item();
......@@ -64,7 +64,7 @@ function comment_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function comment_page_title_settings() {
return array(
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function forum_page_title_alter(&$title) {
$menu_item = menu_get_item();
......@@ -23,7 +23,7 @@ function forum_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function forum_page_title_pattern_alter(&$pattern, &$types) {
$menu_item = menu_get_item();
......@@ -49,7 +49,7 @@ function forum_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function forum_page_title_settings() {
return array(
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function node_page_title_alter(&$title) {
$menu_item = menu_get_item();
......@@ -25,7 +25,7 @@ function node_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function node_page_title_pattern_alter(&$pattern, &$types) {
$menu_item = menu_get_item();
......@@ -64,7 +64,7 @@ function node_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function node_page_title_settings() {
$settings = array();
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function page_title_page_title_alter(&$title) {
// If nothing above set a title, give the legacy function a chance to act
......@@ -23,7 +23,7 @@ function page_title_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function page_title_page_title_pattern_alter(&$pattern, &$types) {
// If frontpage, then use the frontpage pattern and set the title.
......@@ -36,7 +36,7 @@ function page_title_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function page_title_page_title_settings() {
return array(
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function taxonomy_page_title_alter(&$title) {
$menu_item = menu_get_item();
......@@ -22,7 +22,7 @@ function taxonomy_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function taxonomy_page_title_pattern_alter(&$pattern, &$types) {
$menu_item = menu_get_item();
......@@ -37,7 +37,7 @@ function taxonomy_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function taxonomy_page_title_settings() {
$settings = array();
......
......@@ -15,7 +15,7 @@
*/
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function uc_catalog_page_title_alter(&$title) {
$menu_item = menu_get_item();
......@@ -32,7 +32,7 @@ function uc_catalog_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function uc_catalog_page_title_pattern_alter(&$pattern, &$types) {
$menu_item = menu_get_item();
......@@ -48,7 +48,7 @@ function uc_catalog_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function uc_catalog_page_title_settings() {
$settings = array();
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function user_page_title_alter(&$title) {
// If we're looking at either a user profile page, get the user title
......@@ -20,7 +20,7 @@ function user_page_title_alter(&$title) {
/**
* Implementation of hook_page_title_pattern_alter().
* Implements hook_page_title_pattern_alter().
*/
function user_page_title_pattern_alter(&$pattern, &$types) {
if ($user = menu_get_object('user')) {
......@@ -31,7 +31,7 @@ function user_page_title_pattern_alter(&$pattern, &$types) {
/**
* Implementation of hook_page_title_settings().
* Implements hook_page_title_settings().
*/
function user_page_title_settings() {
return array(
......
......@@ -7,7 +7,7 @@
/**
* Implementation of hook_page_title_alter().
* Implements hook_page_title_alter().
*/
function views_page_title_pattern_alter(&$pattern, &$types) {
$menu = menu_get_item();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment