You are here

private function HierarchyManager::hierarchyGetRecord in Entity Reference Hierarchy 8

Loads a single hierarchy item from the database using the HierarchyOutlineStorage class.

Parameters

int $hid: The hierarchy id to be loaded from the database.

Return value

mixed Todo: figure out what's being returned

See also

HierarchyOutlineStorage::hierarchyRecordLoad

hierarchyRecordSave

1 call to HierarchyManager::hierarchyGetRecord()
HierarchyManager::hierarchyRecordSave in src/HierarchyManager.php
Prepare an individual item to be added/removed to the database.

File

src/HierarchyManager.php, line 724
Contains \Drupal\entity_hierarchy\HierarchyManager.

Class

HierarchyManager
Defines a hierarchy manager.

Namespace

Drupal\entity_hierarchy

Code

private function hierarchyGetRecord($hid) {
  return $this->hierarchyOutlineStorage
    ->hierarchyRecordLoad($hid);
}