You are here

function html_title_preprocess_breadcrumb in HTML Title 8

Implements hook_preprocess_HOOK().

1 string reference to 'html_title_preprocess_breadcrumb'
html_title_theme_registry_alter in ./html_title.module
Implements hook_theme_registry_alter().

File

./html_title.module, line 64
HTML Title module to enable limited HTML tags in title.

Code

function html_title_preprocess_breadcrumb(&$vars) {
  foreach ($vars['breadcrumb'] as $key => $link) {
    $vars['breadcrumb'][$key]['text'] = \Drupal::service('html_title.filter')
      ->decodeToMarkup($link['text']);
  }
}