Drupal 8 form 常用

读取form

$builder = \Drupal::formBuilder();
$form = $builder->getForm('\Drupal\mymodule\Form\FormClassName');