public static Drupal::formBuilder()
Returns the form builder service.
Return value
\Drupal\Core\Form\FormBuilderInterface The form builder.
File
- core/lib/Drupal.php, line 638
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function formBuilder() { return static::getContainer()->get('form_builder'); }
Please login to continue.