Drupal 8 redirect to url programmatically. – Programmatically … 4.