function fontyourface_views_pre_render in @font-your-face 8.3
Same name and namespace in other branches
- 6.2 fontyourface.module \fontyourface_views_pre_render()
- 7 fontyourface.module \fontyourface_views_pre_render()
Implements hook_views_pre_render().
File
- ./
fontyourface.module, line 147 - Contains fontyourface.module..
Code
function fontyourface_views_pre_render($view) {
if ($view
->id() == 'fontyourface_font_manager') {
$view->element['#attached']['library'][] = 'fontyourface/fontyourface.admin';
}
}