Correct views hook to alter contextual filter
I was able to use achieved what I wanted by using hook_views_pre_build() as below
hook_views_pre_build(ViewExecutable $view) {
  $args[0] = '1234';

  $view-&gt;addArguments($args);
}