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
1 2 3 | public static function formBuilder() { return static ::getContainer()->get( 'form_builder' ); } |
Please login to continue.