You are here

protected function DraggableListBuilder::formBuilder in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php \Drupal\Core\Config\Entity\DraggableListBuilder::formBuilder()

Returns the form builder.

Return value

\Drupal\Core\Form\FormBuilderInterface The form builder.

File

core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php, line 172

Class

DraggableListBuilder
Defines a class to build a draggable listing of configuration entities.

Namespace

Drupal\Core\Config\Entity

Code

protected function formBuilder() {
  if (!$this->formBuilder) {
    $this->formBuilder = \Drupal::formBuilder();
  }
  return $this->formBuilder;
}