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

public function render() {
  if (!empty($this->weightKey)) {
    return $this->formBuilder()->getForm($this);
  }
  return parent::render();
}
doc_Drupal
2016-10-29 09:02:39
Comments
Leave a Comment

Please login to continue.