function opigno_module_views_pre_render in Opigno module 8
Same name and namespace in other branches
- 3.x opigno_module.module \opigno_module_views_pre_render()
Implements hook_views_pre_render().
Parameters
\Drupal\views\ViewExecutable $view:
File
- ./
opigno_module.module, line 1280 - 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';
}
}