function DraggableListBuilder::render

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

File

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

Class

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

Namespace

Drupal\Core\Config\Entity

Code

public function render() {
  if (!empty($this->weightKey)) {
    return $this->formBuilder()
      ->getForm($this);
  }
  return parent::render();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.