title: How to change option name in Drupal 8 form element?
body: <p>I have sort link 'Best' in exposed form. I want after user click this link, link title changes to 'New'</p>
  <p>I'm try this, but it don't work:</p>
  <pre><code>function helper_form_views_exposed_form_alter(array &amp;$form, FormStateInterface $form_state, $form_id) {
      if($form['#id']== 'views-exposed-form-pozdravleniya-taxonomy-term-page-1') {
        $form['sort_by']['#title'] = '';
        $form['sort_by']['#options']['created'] = '';
        if ($form['sort_by']['#value'] == 'count') {
          $form['sort_by']['#options']['count'] = 'New';
        }
      }
  }
  </code></pre>
  <p>Also I'm try this, it don't work too:</p>
  <pre><code>function helper_form_views_exposed_form_alter(array &amp;$form, FormStateInterface $form_state, $form_id) {
      if($form['#id']== 'views-exposed-form-pozdravleniya-taxonomy-term-page-1') {
        $form['sort_by']['#title'] = '';
        $form['sort_by']['#options']['created'] = '';
        if ($form_state-&gt;getValue('sort_by') == 'count') {
          $form['sort_by']['#options']['count'] = 'New';
        }
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Kqdy8.png" rel="nofollow noreferrer">Screenshot form dump</a></p>