diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 2b1f7b1..d2a63da 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -864,7 +864,7 @@ function drupal_find_base_themes($themes, $key, $used_keys = array()) { * rendering engine, it overrides the default implementation of the 'page' theme * hook by containing a 'page.tpl.php' file within its folder structure). * - * @subsection sub_hook_order Hook Execution Order + * @subsection sub_preprocess_templates Preprocessing for Template Files * If the implementation is a template file, several functions are called * before the template file is invoked, to modify the $variables array. These * fall into the "preprocessing" phase and the "processing" phase, and are @@ -913,14 +913,14 @@ function drupal_find_base_themes($themes, $key, $used_keys = array()) { * - THEME_process_HOOK(&$variables): Allows the theme to process the * variables specific to the theme hook. * - * @subsection sub_restriction_function Restrictions on Functions + * @subsection sub_preprocess_theme_funcs Preprocessing for Theme Functions * If the implementation is a function, only the theme-hook-specific preprocess * and process functions (the ones ending in _HOOK) are called from the * list above. This is because theme hooks with function implementations * need to be fast, and calling the non-theme-hook-specific preprocess and * process functions for them would incur a noticeable performance penalty. * - * @subsection sub_alternate_suggestion Suggesting Alternate Functions + * @subsection sub_alternate_suggestions Suggesting Alternate Hooks * There are two special variables that these preprocess and process functions * can set: 'theme_hook_suggestion' and 'theme_hook_suggestions'. These will be * merged together to form a list of 'suggested' alternate theme hooks to use, diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index 1deec52..2da25ce 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -622,8 +622,8 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * @endcode * See @link form_api Form API documentation @endlink for details. * - * @section sec_path_opers Operators in Path - * @subsection sub_wildcard_sub Wildcards and Substitution + * @section sec_path_wildcards Wildcards in Paths + * @subsection sub_simple_wildcards Simple Wildcards * Wildcards within paths also work with integer substitution. For example, * your module could register path 'my-module/%/edit': * @code @@ -636,7 +636,7 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * with 'foo' and passed to the callback function. Note that wildcards may not * be used as the first component. * - * @subsection sub_load_funcs _load() Functions + * @subsection sub_autoload_wildcards Auto-Loader Wildcards * Registered paths may also contain special "auto-loader" wildcard components * in the form of '%mymodule_abc', where the '%' part means that this path * component is a wildcard, and the 'mymodule_abc' part defines the prefix for a @@ -668,7 +668,7 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * return FALSE for the path 'node/999/edit' if a node with a node ID of 999 * does not exist. The menu routing system will return a 404 error in this case. * - * @subsection sub_to_arg_funcs _to_arg() Functions + * @subsection sub_argument_wildcards Argument Wildcards * You can also define a %wildcard_to_arg() function (for the example menu * entry above this would be 'mymodule_abc_to_arg()'). The _to_arg() function * is invoked to retrieve a value that is used in the path in place of the