function opigno_module_views_pre_render in Opigno module 3.x
Same name and namespace in other branches
- 8 opigno_module.module \opigno_module_views_pre_render()
Implements hook_views_pre_render().
Parameters
\Drupal\views\ViewExecutable $view:
File
- ./
opigno_module.module, line 1279 - Contains opigno_module.module.
Code
function opigno_module_views_pre_render(ViewExecutable $view) {
if (isset($view) && $view
->id() == 'opigno_module_results') {
$view->element['#attached']['library'][] = 'opigno_module/opigno_module_results_view';
}
}