diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-09-17 12:12:26 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-09-17 12:12:26 -0700 |
commit | 409db6b29916ee8099b5165d327c538c488967f6 (patch) | |
tree | 42527ba496eeffa5b0ab2a14242406dca4df1839 /modules/system/system.api.php | |
parent | 8281aa22df7579718f8ea0a0a64345de0cd78430 (diff) | |
download | brdo-409db6b29916ee8099b5165d327c538c488967f6.tar.gz brdo-409db6b29916ee8099b5165d327c538c488967f6.tar.bz2 |
Issue #1742958 by DamienMcKenna: Fix capitalization of URL and other acronyms
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 3f445dba3..dda62f7ac 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -85,8 +85,8 @@ function hook_hook_info_alter(&$hooks) { * - load hook: The name of the hook which should be invoked by * DrupalDefaultEntityController:attachLoad(), for example 'node_load'. * - uri callback: A function taking an entity as argument and returning the - * uri elements of the entity, e.g. 'path' and 'options'. The actual entity - * uri can be constructed by passing these elements to url(). + * URI elements of the entity, e.g. 'path' and 'options'. The actual entity + * URI can be constructed by passing these elements to url(). * - label callback: (optional) A function taking an entity and an entity type * as arguments and returning the label of the entity. The entity label is * the main string associated with an entity; for example, the title of a @@ -3742,7 +3742,7 @@ function hook_drupal_goto_alter(&$path, &$options, &$http_response_code) { function hook_html_head_alter(&$head_elements) { foreach ($head_elements as $key => $element) { if (isset($element['#attributes']['rel']) && $element['#attributes']['rel'] == 'canonical') { - // I want a custom canonical url. + // I want a custom canonical URL. $head_elements[$key]['#attributes']['href'] = mymodule_canonical_url(); } } |