DraggableListBuilder::render

public DraggableListBuilder::render()

Builds the entity listing as renderable array for table.html.twig.

@todo Add a link to add a new item to the #empty text.

Overrides EntityListBuilder::render

File

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

Class

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

Namespace

Drupal\Core\Config\Entity

Code

1
2
3
4
5
6
public function render() {
  if (!empty($this->weightKey)) {
    return $this->formBuilder()->getForm($this);
  }
  return parent::render();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.