How do I get view mode Is there an easy way to get node's view mode from entity.view?

function classier_preprocess_views_view(&amp;$vars) {
    $vars['rows'][0]['#rows'][0]['#view_mode'];
}
If you're trying to get the view mode of a node you probably want to use a different hook. 

function classier_preprocess_node(&amp;$vars) {
    $view_mode = $vars['view_mode'];
}


Should do the trick.