My View is displayed on
/user/%user/library (showing nodes)
On this page I want to add contextual filer for node for example field_premium_id,
I tried to add the two arguments there like
$args[0] = $uid; $args[1] = $field_premium_id_arg; // ['6921384+466555']
$view->setArguments($args);
but %user is not availabe on contextual filers.
When I only use one argument then the %user is replaced by field_premium_id_arg
My goal is to show certain nodes, /user/%user/library based on user ID and custom node field.
How can I solve this? What I’m doing wrong?