function DraggableListBuilderTrait::render
Same name in other branches
- 11.x core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php \Drupal\Core\Entity\DraggableListBuilderTrait::render()
Builds a listing of entities for the given entity type.
Return value
array A render array structure for the entity list.
See also
\Drupal\Core\Entity\EntityListBuilder::render()
1 call to DraggableListBuilderTrait::render()
- VocabularyListBuilder::render in core/
modules/ taxonomy/ src/ VocabularyListBuilder.php - Builds a listing of entities for the given entity type.
1 method overrides DraggableListBuilderTrait::render()
- VocabularyListBuilder::render in core/
modules/ taxonomy/ src/ VocabularyListBuilder.php - Builds a listing of entities for the given entity type.
File
-
core/
lib/ Drupal/ Core/ Entity/ DraggableListBuilderTrait.php, line 119
Class
- DraggableListBuilderTrait
- Provides a trait for draggable listings of entities.
Namespace
Drupal\Core\EntityCode
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.