Porting install file for date-api

add an use statement and just 'FormStateInterface $form_state' here.