protected function HierarchyTreeSummary::getTreeStorage in Entity Reference Hierarchy 3.x
Returns the tree storage.
Return value
\Drupal\entity_hierarchy\Storage\NestedSetStorage Tree storage.
1 call to HierarchyTreeSummary::getTreeStorage()
- HierarchyTreeSummary::render in src/
Plugin/ views/ field/ HierarchyTreeSummary.php - Renders the field.
File
- src/
Plugin/ views/ field/ HierarchyTreeSummary.php, line 132
Class
- HierarchyTreeSummary
- A handler to provide a field that show hierarchy depth of item.
Namespace
Drupal\entity_hierarchy\Plugin\views\fieldCode
protected function getTreeStorage() {
return $this->nestedSetStorageFactory
->fromTableName($this->nestedSetPrefix . $this->table);
}