How to pass contextual filter to a view pane? I have a taxonomy page where different view panes of a single view are displayed. I want to pass contextual filter to only kind of View pane. I wrote this code but this passes the contextual filter to all the view panes on the page. How can I pass contextual filter to a single specific view pane? Thank you for your time.


function intrakicalendarrss_views_pre_view(&amp;$view, &amp;$display_id, &amp;$args) {
    $arg0 = arg(0);
    $arg1 = arg(1);
    $arg2 = arg(2);
    if($view->name = 'current_event_list')  {
        if($arg0 == 'taxonomy' &amp;&amp; $arg1 == 'term' &amp;&amp; ($arg2 == 1 || $arg2 == 2)) {
            $Cfilter = $arg2;
            $args[0] = $Cfilter;
        }
    }
}
Add another condition to check the specific display name 

if($view-&gt;current_display == 'display_name')


Here display_name of particular display can be found in Advanced Option -> Machine Name