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_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_menu_local_task

template_preprocess_menu_local_task(&$variables) Prepares variables for single local task link templates. Default template: menu-local-task.html.twig. Parameters array $variables: An associative array containing: element: A render element containing: #link: A menu link array with 'title', 'url', and (optionally) 'localized_options' keys. #active: A boolean indicating whether the local task is active. Related topics Menu system Define the navigation menus, local actions and tasks, and

template_preprocess_menu_local_action

template_preprocess_menu_local_action(&$variables) Prepares variables for single local action link templates. Default template: menu-local-action.html.twig. Parameters array $variables: An associative array containing: element: A render element containing: #link: A menu link array with 'title', 'url', and (optionally) 'localized_options' keys. Related topics Menu system Define the navigation menus, local actions and tasks, and contextual links. File core/includes/menu.inc, line 65 A

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_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

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_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_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_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