function DraggableListBuilder::render

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

Overrides EntityListBuilder::render

1 call to DraggableListBuilder::render()
VocabularyListBuilder::render in core/modules/taxonomy/src/VocabularyListBuilder.php
Builds the entity listing as renderable array for table.html.twig.
1 method overrides DraggableListBuilder::render()
VocabularyListBuilder::render in core/modules/taxonomy/src/VocabularyListBuilder.php
Builds the entity listing as renderable array for table.html.twig.

File

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

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.