diff --git b/core/modules/system/system.admin.inc a/core/modules/system/system.admin.inc index e6e7d7d..06c0fbd 100644 --- b/core/modules/system/system.admin.inc +++ a/core/modules/system/system.admin.inc @@ -2195,7 +2195,12 @@ function system_batch_page() { } /** - * Returns HTML for an administrative block for display. + * Prepares variables for administrative block template. + * + * Default template: admin-block.html.twig. + * + * This doesn't do anything extra to prepare the template, but is given simply + * for example purposes. * * @param $variables * An associative array containing: @@ -2209,12 +2214,12 @@ function system_batch_page() { * @ingroup themeable */ function template_preprocess_admin_block(&$variables) { - // This doesn't do anything extra to prepare the template, but is given - // simply for example purposes. } /** - * Prepare variables for administrative content block templates. + * Prepares variables for administrative content block template. + * + * Default template: admin-block-content.html.twig. * * @param $variables * An associative array containing: @@ -2245,7 +2250,9 @@ function template_preprocess_admin_block_content(&$variables) { } /** - * Preprocess variables for administrative index page templates. + * Prepares variables for administrative index page templates. + * + * Default template: admin-page.html.twig. * * @param $variables * An associative array containing: @@ -2281,15 +2288,17 @@ function template_preprocess_admin_page(&$variables) { } /** - * Prepare variables for admin-system-index template. - * It is used for the admin index page. + * Prepares variables for admin index template. + * + * Default template: system-admin-index.html.twig. * * @param $variables * An associative array containing: * - menu_items: An array of modules to be displayed. * + * @todo Remove this once http://drupal.org/node/1842232 is resolved. + * * @ingroup themeable - * @todo: remove this file once http://drupal.org/node/1842232 is resolved. */ function template_preprocess_system_admin_index(&$variables) { $variables['system_compact_link'] = array( @@ -2321,7 +2330,9 @@ function template_preprocess_system_admin_index(&$variables) { } /** - * Preprocess variables for status-report.html.twig + * Prepares variables for status report template. + * + * Default template: status-report.html.twig. * * @param $variables * An associative array containing: @@ -2374,7 +2385,9 @@ function template_preprocess_status_report(&$variables) { } /** - * Prepare variables for system-modules-details.html.twig, the modules form. + * Prepares variables for the modules form. + * + * Default template: system-modules-details.html.twig. * * @param $variables * An associative array containing: @@ -2495,7 +2508,9 @@ function theme_system_modules_uninstall($variables) { } /** - * Returns HTML for the Appearance page. + * Prepares variables for the appearance page template. + * + * Default template: system-themes-page.html.twig. * * @param $variables * An associative array containing: @@ -2569,7 +2584,7 @@ function template_preprocess_system_themes_page(&$variables) { } else { $current_theme['compatibility'] = array( - '#theme' => 'links', + '#theme' => 'links', '#links' => $theme->operations, '#attributes' => new Attribute(array('class' => array('operations', 'clearfix'))), ); diff --git b/core/modules/system/system.module a/core/modules/system/system.module index 82a492a..29365fb 100644 --- b/core/modules/system/system.module +++ a/core/modules/system/system.module @@ -2682,7 +2682,7 @@ function system_user_timezone(&$form, &$form_state) { } /** - * Implements hook_preprocess_HOOK() for block.tpl.php. + * Preprares variables for block templates. */ function system_preprocess_block(&$variables) { switch ($variables['block']->id) { @@ -2703,12 +2703,17 @@ function system_preprocess_block(&$variables) { } /** - * Prepares variables for system-plugin-ui-form. + * Prepares variables for the plugin ui form template. + * + * Default template: system-plugin-ui-form.html.twig. * * The $variables array contains the following arguments: * - $form - * @todo Fix drupal_render() and drupal_render_children() calls. - * See http://drupal.org/node/1920886 for more information. + * + * @todo Fix drupal_render() and drupal_render_children() calls. See + * http://drupal.org/node/1920886 for more information. + * + * @ingroup themeable */ function template_preprocess_system_plugin_ui_form(&$variables) { drupal_add_css(drupal_get_path('module', 'system') . '/system.plugin.ui.css'); @@ -3647,17 +3652,24 @@ function system_timezone($abbreviation = '', $offset = -1, $is_daylight_saving_t } /** - * Prepares variables for the Powered by Drupal text. + * Prepares variables for the Powered by Drupal template. + * + * Default template: system-powered-by.html.twig. + * + * This doesn't do anything extra to prepare the template, but is given simply + * for example purposes. * * @ingroup themeable */ function template_preprocess_system_powered_by(&$variables) { - // This doesn't do anything extra to prepare the template, but is given - // simply for example purposes. } /** * Prepare variables for system compact link templates. + * + * Default template: system-compact-link.html.twig. + * + * @ingroup themeable */ function template_preprocess_system_compact_link(&$variables) { if (system_admin_compact_mode()) { @@ -3921,10 +3933,12 @@ function system_archiver_info() { } /** - * Returns HTML for a confirmation form. + * Prepares variables for a confirmation form template. * - * By default this does not alter the appearance of a form at all, - * but is provided as a convenience for themers. + * Default template: confirm-form.html.twig. + * + * This doesn't do anything extra to prepare the template, but is given simply + * for example purposes. * * @param $variables * An associative array containing: @@ -3938,10 +3952,12 @@ function template_preprocess_confirm_form(&$variables) { } /** - * Returns HTML for a system settings form. + * Prepares variables for system settings form template. + * + * Default template: system-settings-form.html.twig. * - * By default this does not alter the appearance of a form at all, - * but is provided as a convenience for themers. + * This doesn't do anything extra to prepare the template, but is given simply + * for example purposes. * * @param $variables * An associative array containing: diff --git b/core/modules/system/templates/status-report.html.twig a/core/modules/system/templates/status-report.html.twig index b6f9666..f8b74d6 100644 --- b/core/modules/system/templates/status-report.html.twig +++ a/core/modules/system/templates/status-report.html.twig @@ -8,6 +8,7 @@ * - severity: The severity of error. Contains .title and .class. * * @see template_preprocess() + * @see template_preprocess_status_report() * * @ingroup themeable */ diff --git b/core/modules/system/templates/system-admin-index.html.twig a/core/modules/system/templates/system-admin-index.html.twig index 48424d9..54cf0e2 100644 --- b/core/modules/system/templates/system-admin-index.html.twig +++ a/core/modules/system/templates/system-admin-index.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Default theme implementation for the admin index page + * Default theme implementation for the admin index page. * * Available variables: * - system_compact_link: Themed link to toggle compact view. diff --git b/core/modules/system/templates/system-modules-details.html.twig a/core/modules/system/templates/system-modules-details.html.twig index d42ad7b..6321b28 100644 --- b/core/modules/system/templates/system-modules-details.html.twig +++ a/core/modules/system/templates/system-modules-details.html.twig @@ -1,15 +1,15 @@ {# /** -* @file -* Default theme implementation to display the modules form. -* -* Available variables: -* - content: file form element html. -* -* @see template_preprocess -* @see template_preprocess_system_modules_details -* -* @ingroup themeable -*/ + * @file + * Default theme implementation to display the modules form. + * + * Available variables: + * - content: file form element html. + * + * @see template_preprocess() + * @see template_preprocess_system_modules_details() + * + * @ingroup themeable + */ #} {{ content }} diff --git b/core/modules/system/templates/system-powered-by.html.twig a/core/modules/system/templates/system-powered-by.html.twig index b9ddcb8..fa7dd32 100644 --- b/core/modules/system/templates/system-powered-by.html.twig +++ a/core/modules/system/templates/system-powered-by.html.twig @@ -4,6 +4,7 @@ * Default theme implementation for the Powered by Drupal text. * * @see template_preprocess() + * @see template_preprocess_system_powered_by() * * @ingroup themeable */ diff --git b/core/modules/system/templates/system-settings-form.html.twig a/core/modules/system/templates/system-settings-form.html.twig index 028da51..9be86af 100644 --- b/core/modules/system/templates/system-settings-form.html.twig +++ a/core/modules/system/templates/system-settings-form.html.twig @@ -1,6 +1,6 @@ {# /** - * @see + * @file * Default theme implementation for a system settings form. * * By default this does not alter the appearance of a form at all, but is diff --git b/core/modules/system/templates/system-themes-page.html.twig a/core/modules/system/templates/system-themes-page.html.twig index 4f04922..c20544a 100644 --- b/core/modules/system/templates/system-themes-page.html.twig +++ a/core/modules/system/templates/system-themes-page.html.twig @@ -28,8 +28,8 @@ * - theme.compatibility: Description of any incompatibility issues, * if the theme is compatible, provides a list of links. * - * @see template_preprocess - * @see template_preprocess_system_themes_page + * @see template_preprocess() + * @see template_preprocess_system_themes_page() * * @ingroup themeable */