You are here

protected function EntityHierarchyArgumentPluginBase::getTreeStorage in Entity Reference Hierarchy 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/argument/EntityHierarchyArgumentPluginBase.php \Drupal\entity_hierarchy\Plugin\views\argument\EntityHierarchyArgumentPluginBase::getTreeStorage()

Returns the tree storage.

Return value

\Drupal\entity_hierarchy\Storage\NestedSetStorage Tree storage.

File

src/Plugin/views/argument/EntityHierarchyArgumentPluginBase.php, line 109

Class

EntityHierarchyArgumentPluginBase
Defines a base argument plugin.

Namespace

Drupal\entity_hierarchy\Plugin\views\argument

Code

protected function getTreeStorage() {
  return $this->nestedSetStorageFactory
    ->fromTableName($this->nestedSetPrefix . $this->table);
}