public function buildForm(array $form, FormStateInterface $form_state) { $form = parent::buildForm($form, $form_state); $form['#attached']['library'][] = 'tmgmt/admin'; return $form; }