public function ChildWeight::query in Entity Reference Hierarchy 8
Called to add the sort to a query.
Overrides SortPluginBase::query
File
- entity_hierarchy_views/
src/ Plugin/ views/ sort/ ChildWeight.php, line 25 - Contains \Drupal\entity_hierarchy_views\Plugin\views\sort\ChildWeight.
Class
- ChildWeight
- Sort handler for hierarchy children
Namespace
Drupal\entity_hierarchy_views\Plugin\views\sortCode
public function query() {
$this
->ensureMyTable();
}