How to determine the route for the add node page of a custom entity type? I have a node type question that I want users to be able to create rapidly.  So, after adding a question, I want them to be redirected to /node/add/question to immediately do it again.
This is my code so far:
function MYMODULE_form_alter(&amp;$form, FormStateInterface $form_state, $form_id) {
  switch ($form_id) {
    case 'node_question_form':
      foreach (array_keys($form['actions']) as $action) {
        if ($action != 'preview' &amp;&amp; isset($form['actions'][$action]['#type']) &amp;&amp; $form['actions'][$action]['#type'] === 'submit') {
          $form['actions'][$action]['#submit'][] = 'MYMODULE_node_form_submit';
        }
      }
      break;
  }
}

function MYMODULE_node_form_submit(array &amp;$form, FormStateInterface &amp;$form_state) {
  // https://drupal.stackexchange.com/a/250474/5147
  \Drupal::request()-&gt;query-&gt;remove('destination');
  $form_state-&gt;setRedirect('node.add_page');
}

This redirects to /node/add, but I want to redirect to /node/add/question.  I tried digging through the route options in PHPStorm but I couldn't find anything that gets to the create page for a custom content type.
You're looking for the node.add route, which has a node_type parameter.
$form_state-&gt;setRedirect('node.add', ['node_type' =&gt; 'question']);