diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 7 | ||||
-rw-r--r-- | modules/system/system.install | 5 | ||||
-rw-r--r-- | modules/system/system.module | 25 |
3 files changed, 25 insertions, 12 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 6ff9be0ec..d248e3be9 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -503,6 +503,7 @@ function hook_exit($destination = NULL) { * * @param $javascript * An array of all JavaScript being presented on the page. + * * @see drupal_add_js() * @see drupal_get_js() * @see drupal_js_defaults() @@ -622,6 +623,7 @@ function hook_library_alter(&$libraries, $module) { * * @param $css * An array of all CSS items (files and inline CSS) being requested on the page. + * * @see drupal_add_css() * @see drupal_get_css() */ @@ -635,6 +637,7 @@ function hook_css_alter(&$css) { * * @param $commands * An array of all commands that will be sent to the user. + * * @see ajax_render() */ function hook_ajax_render_alter($commands) { @@ -778,7 +781,7 @@ function hook_form_alter(&$form, &$form_state, $form_id) { * @param $form_state * A keyed array containing the current state of the form. * - * @see drupal_prepare_form(). + * @see drupal_prepare_form() */ function hook_form_FORM_ID_alter(&$form, &$form_state) { // Modification for the form with the given form ID goes here. For example, if @@ -2739,7 +2742,7 @@ function hook_actions_delete($aid) { * Called by actions_list() to allow modules to alter the return values from * implementations of hook_action_info(). * - * @see trigger_example_action_info_alter(). + * @see trigger_example_action_info_alter() */ function hook_action_info_alter(&$actions) { $actions['node_unpublish_action']['label'] = t('Unpublish and remove from public view.'); diff --git a/modules/system/system.install b/modules/system/system.install index a3766e22c..bdef35d5c 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2068,6 +2068,7 @@ function system_update_7030() { /** * Removed in favour of Drupal 6 backport. + * * @see system_update_6052() */ function system_update_7031() { @@ -2229,8 +2230,8 @@ function system_update_7036() { } $insert->execute(); - // Remove obsolete variable 'site_offline_message'. - // @see update_fix_d7_requirements(). + // Remove obsolete variable 'site_offline_message'. See + // update_fix_d7_requirements(). variable_del('site_offline_message'); } diff --git a/modules/system/system.module b/modules/system/system.module index 6c5cbe119..039528738 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -47,12 +47,16 @@ define('DRUPAL_OPTIONAL', 1); define('DRUPAL_REQUIRED', 2); /** - * Return only visible regions. @see system_region_list(). + * Return only visible regions. + * + * @see system_region_list() */ define('REGIONS_VISIBLE', 'visible'); /** - * Return all visible regions. @see system_region_list(). + * Return all regions. + * + * @see system_region_list() */ define('REGIONS_ALL', 'all'); @@ -2168,6 +2172,7 @@ function system_update_files_database(&$files, $type) { * * @param $type * Either 'module' or 'theme'. + * * @return * An associative array of module or theme information keyed by name. * @@ -2501,7 +2506,7 @@ function system_region_list($theme_key, $show = REGIONS_ALL) { return $list[$theme_key][$show]; } $info = $themes[$theme_key]->info; - // If requested, suppress hidden regions. @see block_admin_display_form(). + // If requested, suppress hidden regions. See block_admin_display_form(). foreach ($info['regions'] as $name => $label) { if ($show == REGIONS_ALL || !isset($info['regions_hidden']) || !in_array($name, $info['regions_hidden'])) { $list[$theme_key][$show][$name] = $label; @@ -2557,15 +2562,17 @@ function _system_settings_form_automatic_defaults($form) { /** * Add default buttons to a form and set its prefix. * - * @ingroup forms - * @see system_settings_form_submit() * @param $form * An associative array containing the structure of the form. * @param $automatic_defaults * Automatically load the saved values for each field from the system variables * (defaults to TRUE). + * * @return * The form structure. + * + * @see system_settings_form_submit() + * @ingroup forms */ function system_settings_form($form, $automatic_defaults = TRUE) { $form['actions']['#type'] = 'container'; @@ -2771,7 +2778,7 @@ function system_cron() { // Remove temporary files that are older than DRUPAL_MAXIMUM_TEMP_FILE_AGE. // Use separate placeholders for the status to avoid a bug in some versions - // of PHP. See http://drupal.org/node/352956 + // of PHP. See http://drupal.org/node/352956. $result = db_query('SELECT fid FROM {file} WHERE status & :permanent1 <> :permanent2 AND timestamp < :timestamp', array( ':permanent1' => FILE_STATUS_PERMANENT, ':permanent2' => FILE_STATUS_PERMANENT, @@ -2853,12 +2860,14 @@ function system_action_info() { /** * Return a form definition so the Send email action can be configured. * - * @see system_send_email_action_validate() - * @see system_send_email_action_submit() * @param $context * Default values (if we are editing an existing action instance). + * * @return * Form definition. + * + * @see system_send_email_action_validate() + * @see system_send_email_action_submit() */ function system_send_email_action_form($context) { // Set default values for form. |