$form_state->setErrorByName('book_child_type',$this->t('The content type for the %add-child link must be one of those selected as an allowed book outline type.',['%add-child'=>$this->t('Add child page')]));
}
...
...
@@ -75,7 +75,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {