commit 4d5a3745771351a6cf5dd0acec6729fe85b9588a Author: Joel Pittet Date: Sun Jun 23 22:31:27 2013 -0600 cleanup #42 diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index 31d38b3..f6024f4 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -990,8 +990,6 @@ function template_preprocess_admin_page(&$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 */ function template_preprocess_system_admin_index(&$variables) { diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index e9e69c5..2717930 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -1732,7 +1732,6 @@ function hook_theme_registry_alter(&$theme_registry) { * An associative array of default template variables, as set up by * _template_preprocess_default_variables(). Passed by reference. * - * @see template_preprocess() * @see _template_preprocess_default_variables() */ function hook_template_preprocess_default_variables_alter(&$variables) { diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 5fada45..03f00a1 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -3799,7 +3799,6 @@ function theme_system_config_form($variables) { * A string containing an HTML-formatted form. * * @ingroup themeable - * @todo Move this out of system.module and back into theme.inc. */ function theme_exposed_filters($variables) { $form = $variables['form']; diff --git a/core/modules/system/templates/admin-block-content.html.twig b/core/modules/system/templates/admin-block-content.html.twig index 1900082..d3fbd5a 100644 --- a/core/modules/system/templates/admin-block-content.html.twig +++ b/core/modules/system/templates/admin-block-content.html.twig @@ -8,10 +8,9 @@ * of the array represents an administrative menu item, and must at least * contain the keys 'title', 'href', and 'localized_options', which are * passed to l(). A 'description' key may also be provided. - * - attributes: Remaining HTML attributes to be aded to the element. + * - attributes: HTML attributes to be aded to the element. * - is_compact_mode: It defines if compact mode is used. * - * @see template_preprocess() * @see template_preprocess_admin_block_content() * * @ingroup themeable diff --git a/core/modules/system/templates/admin-block.html.twig b/core/modules/system/templates/admin-block.html.twig index 8e9bc96..36c8d43 100644 --- a/core/modules/system/templates/admin-block.html.twig +++ b/core/modules/system/templates/admin-block.html.twig @@ -11,7 +11,6 @@ * - description: (optional) A description of the block. * (description should only be output if content is not available). * - * @see template_preprocess() * @see template_preprocess_admin_block() * * @ingroup themeable diff --git a/core/modules/system/templates/admin-page.html.twig b/core/modules/system/templates/admin-page.html.twig index c3c42f0..5a7d9b1 100644 --- a/core/modules/system/templates/admin-page.html.twig +++ b/core/modules/system/templates/admin-page.html.twig @@ -6,9 +6,10 @@ * Available variables: * - system_compact_link: Themed link to toggle compact view. * - containers: An list of administrative blocks keyed by position: left or - * right. + * right. Contains: + * - blocks: A list of blocks within a container. + * * - * @see template_preprocess() * @see template_preprocess_admin_page() * * @ingroup themeable diff --git a/core/modules/system/templates/datetime.html.twig b/core/modules/system/templates/datetime.html.twig index 25ef788..be24df5 100644 --- a/core/modules/system/templates/datetime.html.twig +++ b/core/modules/system/templates/datetime.html.twig @@ -25,5 +25,4 @@ * @see http://www.w3.org/TR/html5-author/the-time-element.html#attr-time-datetime */ #} -{# @todo Revisit once http://drupal.org/node/1825952 is resolved. #} {{ html ? text|raw : text|escape }} diff --git a/core/modules/system/templates/status-report.html.twig b/core/modules/system/templates/status-report.html.twig index 57b279d..6628b94 100644 --- a/core/modules/system/templates/status-report.html.twig +++ b/core/modules/system/templates/status-report.html.twig @@ -5,15 +5,12 @@ * Available variables: * - requirements: Contains multiple requirement instances. * Each requirement contains: - * - title: @todo. - * - value: @todo. - * - description: @todo. - * - severity: The severity of error. - * Contains: - * - title: @todo. - * - class: @todo. + * - title: The title of the requirement. + * - value: The requirement's status. + * - description: The requirement's description. + * - severity_title: The title of the severity. + * - severity_class: The html class of the severity. * - * @see template_preprocess() * @see template_preprocess_status_report() * * @ingroup themeable diff --git a/core/modules/system/templates/system-admin-index.html.twig b/core/modules/system/templates/system-admin-index.html.twig index d60f11a..9b3282f 100644 --- a/core/modules/system/templates/system-admin-index.html.twig +++ b/core/modules/system/templates/system-admin-index.html.twig @@ -7,7 +7,6 @@ * - system_compact_link: Themed link to toggle compact view. * - container: Container for admin blocks. * - * @see template_preprocess() * @see template_preprocess_system_admin_index() * * @ingroup themeable diff --git a/core/modules/system/templates/system-compact-link.html.twig b/core/modules/system/templates/system-compact-link.html.twig index a18efda..2c021a5 100644 --- a/core/modules/system/templates/system-compact-link.html.twig +++ b/core/modules/system/templates/system-compact-link.html.twig @@ -4,7 +4,6 @@ * Default theme implementation for a link to show or hide inline help * descriptions. * - * @see template_preprocess() * @see template_preprocess_system_compact_link() * * @ingroup themeable diff --git a/core/modules/system/templates/system-modules-details.html.twig b/core/modules/system/templates/system-modules-details.html.twig index 0f946c4..966c03e 100644 --- a/core/modules/system/templates/system-modules-details.html.twig +++ b/core/modules/system/templates/system-modules-details.html.twig @@ -6,7 +6,6 @@ * Available variables: * - content: File form element html. * - * @see template_preprocess() * @see template_preprocess_system_modules_details() * * @ingroup themeable diff --git a/core/modules/system/templates/system-powered-by.html.twig b/core/modules/system/templates/system-powered-by.html.twig index fa7dd32..4223684 100644 --- a/core/modules/system/templates/system-powered-by.html.twig +++ b/core/modules/system/templates/system-powered-by.html.twig @@ -3,7 +3,6 @@ * @file * Default theme implementation for the Powered by Drupal text. * - * @see template_preprocess() * @see template_preprocess_system_powered_by() * * @ingroup themeable diff --git a/core/modules/system/templates/system-themes-page.html.twig b/core/modules/system/templates/system-themes-page.html.twig index 23fc836..d931ce2 100644 --- a/core/modules/system/templates/system-themes-page.html.twig +++ b/core/modules/system/templates/system-themes-page.html.twig @@ -5,17 +5,17 @@ * * Available variables: * - attributes: HTML element attributes. - * - theme_groups: An array of theme groups. + * - theme_groups: A list of theme groups. * - * Each theme_groups[group] contains an array of theme groups. + * Each theme_groups[group] contains a list of theme groups. * * Each group in theme_groups[group] contains: * - attributes: Element attributes specific to this group. * - title: Title for the theme group. * - state: State of the theme group. - * - themes: An array of themes within that group. + * - themes: A list of themes within that group. * - * Each group.themes[theme] contains an array of themes. + * Each group.themes[theme] contains a a list of themes. * * Each theme in group.themes[theme] contains: * - attributes: Element attributes specific to this theme. @@ -28,7 +28,6 @@ * - 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() * * @ingroup themeable diff --git a/core/modules/system/templates/tablesort-indicator.html.twig b/core/modules/system/templates/tablesort-indicator.html.twig index ffdecda..d019349 100644 --- a/core/modules/system/templates/tablesort-indicator.html.twig +++ b/core/modules/system/templates/tablesort-indicator.html.twig @@ -13,6 +13,4 @@ * @ingroup themeable */ #} -{% spaceless %} - {{ image }} -{% endspaceless %} +{{ image }}