Drupal Queue example : form_state->get('XXX') always empty In D8 Queue example (QueueExampleForm.php), why $form_state-&gt;get('insert_counter') is alway empty during insertion into queue (after submit)?
Lets try with 

$form_State-&gt;getValue('insert_counter');


or

$form_State-&gt;get('insert_counter')-&gt;getValue();