You are here

protected function DraggableListBuilder::formBuilder in Zircon Profile 8.0

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 176
Contains \Drupal\Core\Config\Entity\DraggableListBuilder.

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