You are here

protected function DraggableListBuilder::formBuilder in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php \Drupal\Core\Config\Entity\DraggableListBuilder::formBuilder()
  2. 9 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.

1 call to DraggableListBuilder::formBuilder()
DraggableListBuilder::render in core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php
Builds the entity listing as renderable array for table.html.twig.

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;
}