You are here

function thunder_riddle_preprocess_views_view in Thunder 8.2

Implements template_preprocess_views_view().

File

modules/thunder_article/modules/thunder_riddle/thunder_riddle.module, line 21
Thunder riddle install hooks.

Code

function thunder_riddle_preprocess_views_view(&$variables) {
  if ($variables['view']
    ->id() == 'riddle_browser') {
    $variables['view_array']['#attached']['library'][] = 'thunder_riddle/entity_browser_view';
  }
}