How do I get 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.