function ClaroHooks::preprocessFilterTips

Same name and namespace in other branches
  1. 11.x core/themes/claro/src/Hook/ClaroHooks.php \Drupal\claro\Hook\ClaroHooks::preprocessFilterTips()

Implements hook_preprocess_HOOK() for filter_tips.

Attributes

#[Hook('preprocess_filter_tips')]

File

core/themes/claro/src/Hook/ClaroHooks.php, line 925

Class

ClaroHooks
Hook implementations for claro.

Namespace

Drupal\claro\Hook

Code

public function preprocessFilterTips(array &$variables) : void {
  $variables['#attached']['library'][] = 'filter/drupal.filter';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.