template_preprocess_maintenance_task_list

template_preprocess_maintenance_task_list(&$variables) Prepares variables for maintenance task list templates. Default template: maintenance-task-list.html.twig. Parameters array $variables: An associative array containing: items: An associative array of maintenance tasks. It's the caller's responsibility to ensure this array's items contain no dangerous HTML such as <script> tags. active: The key for the currently active maintenance task. File core/includes/theme.inc, line 1163

template_preprocess_maintenance_page

template_preprocess_maintenance_page(&$variables) Prepares variables for maintenance page templates. Default template: maintenance-page.html.twig. Parameters array $variables: An associative array containing: content - An array of page content. See also system_page_attachments() File core/includes/theme.inc, line 1456 The theme system, which controls the output of Drupal. Code function template_preprocess_maintenance_page(&$variables) { // @todo Rename the templates to page--mai

template_preprocess_locale_translation_update_info

template_preprocess_locale_translation_update_info(array &$variables) Prepares variables for translation status information templates. Translation status information is displayed per language. Default template: locale-translate-edit-form-strings.html.twig. Parameters array $variables: An associative array containing: updates: The projects which have updates. not_found: The projects which updates are not found. See also \Drupal\locale\Form\TranslationStatusForm File core/modules/locale

template_preprocess_locale_translation_last_check

template_preprocess_locale_translation_last_check(array &$variables) Prepares variables for most recent translation update templates. Displays the last time we checked for locale update data. In addition to properly formatting the given timestamp, this function also provides a "Check manually" link that refreshes the available update and redirects back to the same page. Default template: locale-translation-last-check.html.twig. Parameters array $variables: An associative array containing:

template_preprocess_link_formatter_link_separate

template_preprocess_link_formatter_link_separate(&$variables) Prepares variables for separated link field templates. This template outputs a separate title and link. Default template: link-formatter-link-separate.html.twig. Parameters array $variables: An associative array containing: title: (optional) A descriptive or alternate title for the link, which may be different than the actual link text. url_title: The anchor text for the link. url: A \Drupal\Core\Url object. File core/modul

template_preprocess_links

template_preprocess_links(&$variables) Prepares variables for links templates. Default template: links.html.twig. Unfortunately links templates duplicate the "active" class handling of l() and LinkGenerator::generate() because it needs to be able to set the "active" class not on the links themselves (<a> tags), but on the list items (<li> tags) that contain the links. This is necessary for CSS to be able to style list items differently when the link is active, since CSS does not

template_preprocess_language_negotiation_configure_form

template_preprocess_language_negotiation_configure_form(&$variables) Prepares variables for language negotiation configuration form. Default template: language-content-configuration-form.html.twig. Parameters array $variables: An associative array containing: form: A render element representing the form. File core/modules/language/language.admin.inc, line 20 Administration functions for language.module. Code function template_preprocess_language_negotiation_configure_form(&$variab

template_preprocess_language_content_settings_table

template_preprocess_language_content_settings_table(&$variables) Prepares variables for language content settings table templates. Default template: language-content-settings-table.html.twig. Parameters array $variables: An associative array containing: element: An associative array containing the properties of the element. Properties used: #bundle_label, #title. File core/modules/language/language.admin.inc, line 106 Administration functions for language.module. Code function templat

template_preprocess_item_list

template_preprocess_item_list(&$variables) Prepares variables for item list templates. Default template: item-list.html.twig. Parameters array $variables: An associative array containing: items: An array of items to be displayed in the list. Each item can be either a string or a render array. If #type, #theme, or #markup properties are not specified for child render arrays, they will be inherited from the parent list, allowing callers to specify larger nested lists without having to expli

template_preprocess_install_page

template_preprocess_install_page(&$variables) Prepares variables for install page templates. Default template: install-page.html.twig. Parameters array $variables: An associative array containing: content - An array of page content. See also template_preprocess_maintenance_page() File core/includes/theme.inc, line 1486 The theme system, which controls the output of Drupal. Code function template_preprocess_install_page(&$variables) { template_preprocess_maintenance_page($variabl