Pass 'view' var into functions declared as view configuration.