improvements-2.x-dev/modules/improvements_title/improvements_title.module

modules/improvements_title/improvements_title.module
<?php

/**
 * Preprocess function for html.html.twig.
 */
function improvements_title_preprocess_html(array &$vars): void {
  // Fire hook "hook_head_title_alter"
  // @TODO Add test
  \Drupal::moduleHandler()->alter('head_title', $vars['head_title']);
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc